CSS named colour

Slate Gray

#708090

A CSS named colour: slategray is valid anywhere a colour is expected.

RGB
rgb(112 128 144)
HSL
210°, 13%, 50%
OKLCh
59.3% 0.031 248.3

Open in the picker

Slate Gray in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#708090
RGBrgb(112 128 144)
RGB legacyrgb(112, 128, 144)
RGB percentrgb(43.92% 50.2% 56.47%)
HSLhsl(210 12.6% 50.2%)
HSL legacyhsl(210, 12.6%, 50.2%)
HSV / HSBhsv(210, 22.2%, 56.5%)
HWBhwb(210 43.9% 43.5%)
Nearest nameslategray
CMYKcmyk(22.2%, 11.1%, 0%, 43.5%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.

OKLChoklch(59.25% 0.03092 248.348)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(59.25% -0.01141 -0.02874)
CIE LChlch(52.697% 11.234 253.003)
CIE Lablab(52.697% -3.284 -10.743)
Display P3color(display-p3 0.4512 0.5 0.5586)
Rec. 2020color(rec2020 0.4149 0.4487 0.512)
srgb-linearcolor(srgb-linear 0.162 0.2159 0.2789)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.1943 0.209 0.294)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 — sRGBvec3(0.439, 0.502, 0.565)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.162, 0.216, 0.279)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.439, 0.502, 0.565, 1.0)
GLSL vec4 — linearvec4(0.162, 0.216, 0.279, 1.0)
GLSL ivec3ivec3(112, 128, 144)
HLSL float3 — sRGBfloat3(0.439, 0.502, 0.565)
HLSL float3 — linearfloat3(0.162, 0.216, 0.279)
HLSL float4 — sRGBfloat4(0.439, 0.502, 0.565, 1.0)
HLSL half4 — sRGBhalf4(0.439, 0.502, 0.565, 1.0)
WGSL vec3f — sRGBvec3f(0.439, 0.502, 0.565)
WGSL vec4f — sRGBvec4f(0.439, 0.502, 0.565, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.162, 0.216, 0.279)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew Color(0.439f, 0.502f, 0.565f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(112, 128, 144, 255)
Unreal FLinearColorFLinearColor(0.162f, 0.2159f, 0.2789f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(112, 128, 144, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.439, 0.502, 0.565, 1)
Flutter ColorColor(0xFF708090)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(112, 128, 144)
SwiftUI ColorColor(red: 0.439, green: 0.502, blue: 0.565)
UIKit UIColorUIColor(red: 0.439, green: 0.502, blue: 0.565, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0x708090
0x hex (ARGB)0xFF708090
Array 0–1[0.439, 0.502, 0.565]
Array 0–255[112, 128, 144]
Decimal integer7372944

Contrast and accessibility

WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.

PairingWCAG 2 ratioLevelAPCASuitable for
Slate Gray on white4.05:1AA LargeLc 68Headings and large text
Slate Gray on black5.18:1AALc 34Non-text elements only

Slate Gray text on a white background

Slate Gray text on a black background

White text on Slate Gray

Black text on Slate Gray

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#ecf9ff
  • 100#e1effd
  • 200#d0deed
  • 300#b8c8d7
  • 400#9babbc
  • 500#7d8d9e
  • 600#647383
  • 700#4f5d6a
  • 800#3d4956
  • 900#2e3944
  • 950#182029

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#8694a2
  • Tint 2#9da9b4
  • Tint 3#b5bec6
  • Tint 4#cdd3d9
  • Tint 5#e6e9ec
  • Shade 1#566370
  • Shade 2#3e4851
  • Shade 3#272e34
  • Shade 4#12161a
  • Shade 5#020304

Colours that work with Slate Gray

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #8b7b6b
  • #8f777a
  • #78826e
  • #6a838a
  • #797d91

Closest CSS names

  • slategrayexact match
  • lightslategrayΔEok 0.027
  • grayΔEok 0.032
  • steelblueΔEok 0.069
  • dimgrayΔEok 0.078
  • cadetblueΔEok 0.083