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
Slate Gray in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #708090 | |
|---|---|---|
| RGB | rgb(112 128 144) | |
| RGB legacy | rgb(112, 128, 144) | |
| RGB percent | rgb(43.92% 50.2% 56.47%) | |
| HSL | hsl(210 12.6% 50.2%) | |
| HSL legacy | hsl(210, 12.6%, 50.2%) | |
| HSV / HSB | hsv(210, 22.2%, 56.5%) | |
| HWB | hwb(210 43.9% 43.5%) | |
| Nearest name | slategray | |
| CMYK | cmyk(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.
| OKLCh | oklch(59.25% 0.03092 248.348)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(59.25% -0.01141 -0.02874) | |
| CIE LCh | lch(52.697% 11.234 253.003) | |
| CIE Lab | lab(52.697% -3.284 -10.743) | |
| Display P3 | color(display-p3 0.4512 0.5 0.5586) | |
| Rec. 2020 | color(rec2020 0.4149 0.4487 0.512) | |
| srgb-linear | color(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 — sRGB | vec3(0.439, 0.502, 0.565)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.162, 0.216, 0.279)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.439, 0.502, 0.565, 1.0) | |
| GLSL vec4 — linear | vec4(0.162, 0.216, 0.279, 1.0) | |
| GLSL ivec3 | ivec3(112, 128, 144) | |
| HLSL float3 — sRGB | float3(0.439, 0.502, 0.565) | |
| HLSL float3 — linear | float3(0.162, 0.216, 0.279) | |
| HLSL float4 — sRGB | float4(0.439, 0.502, 0.565, 1.0) | |
| HLSL half4 — sRGB | half4(0.439, 0.502, 0.565, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.439, 0.502, 0.565) | |
| WGSL vec4f — sRGB | vec4f(0.439, 0.502, 0.565, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.162, 0.216, 0.279) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new 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 Color32 | new Color32(112, 128, 144, 255) | |
| Unreal FLinearColor | FLinearColor(0.162f, 0.2159f, 0.2789f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(112, 128, 144, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.439, 0.502, 0.565, 1) | |
| Flutter Color | Color(0xFF708090)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(112, 128, 144) | |
| SwiftUI Color | Color(red: 0.439, green: 0.502, blue: 0.565) | |
| UIKit UIColor | UIColor(red: 0.439, green: 0.502, blue: 0.565, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0x708090 | |
|---|---|---|
| 0x hex (ARGB) | 0xFF708090 | |
| Array 0–1 | [0.439, 0.502, 0.565] | |
| Array 0–255 | [112, 128, 144] | |
| Decimal integer | 7372944 |
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.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Slate Gray on white | 4.05:1 | AA Large | Lc 68 | Headings and large text |
| Slate Gray on black | 5.18:1 | AA | Lc 34 | Non-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 matchlightslategrayΔEok 0.027grayΔEok 0.032steelblueΔEok 0.069dimgrayΔEok 0.078cadetblueΔEok 0.083