CSS named colour
Dark Slate Blue
#483d8b
A CSS named colour: darkslateblue is valid anywhere a colour is expected.
- RGB
- rgb(72 61 139)
- HSL
- 248°, 39%, 39%
- OKLCh
- 41.4% 0.125 286.0
Dark Slate Blue in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #483d8b | |
|---|---|---|
| RGB | rgb(72 61 139) | |
| RGB legacy | rgb(72, 61, 139) | |
| RGB percent | rgb(28.24% 23.92% 54.51%) | |
| HSL | hsl(248.5 39% 39.2%) | |
| HSL legacy | hsl(248.5, 39%, 39.2%) | |
| HSV / HSB | hsv(248.5, 56.1%, 54.5%) | |
| HWB | hwb(248.5 23.9% 45.5%) | |
| Nearest name | darkslateblue | |
| CMYK | cmyk(48.2%, 56.1%, 0%, 45.5%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(41.434% 0.12484 286.039)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(41.434% 0.03449 -0.11998) | |
| CIE LCh | lch(30.284% 47.807 296.61) | |
| CIE Lab | lab(30.284% 21.413 -42.744) | |
| Display P3 | color(display-p3 0.2753 0.2408 0.5267) | |
| Rec. 2020 | color(rec2020 0.2269 0.1871 0.4752) | |
| srgb-linear | color(srgb-linear 0.0648 0.0467 0.2582)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.09 0.0658 0.2522) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.282, 0.239, 0.545)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.065, 0.047, 0.258)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.282, 0.239, 0.545, 1.0) | |
| GLSL vec4 — linear | vec4(0.065, 0.047, 0.258, 1.0) | |
| GLSL ivec3 | ivec3(72, 61, 139) | |
| HLSL float3 — sRGB | float3(0.282, 0.239, 0.545) | |
| HLSL float3 — linear | float3(0.065, 0.047, 0.258) | |
| HLSL float4 — sRGB | float4(0.282, 0.239, 0.545, 1.0) | |
| HLSL half4 — sRGB | half4(0.282, 0.239, 0.545, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.282, 0.239, 0.545) | |
| WGSL vec4f — sRGB | vec4f(0.282, 0.239, 0.545, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.065, 0.047, 0.258) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.282f, 0.239f, 0.545f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(72, 61, 139, 255) | |
| Unreal FLinearColor | FLinearColor(0.0648f, 0.0467f, 0.2582f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(72, 61, 139, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.282, 0.239, 0.545, 1) | |
| Flutter Color | Color(0xFF483D8B)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(72, 61, 139) | |
| SwiftUI Color | Color(red: 0.282, green: 0.239, blue: 0.545) | |
| UIKit UIColor | UIColor(red: 0.282, green: 0.239, blue: 0.545, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0x483D8B | |
|---|---|---|
| 0x hex (ARGB) | 0xFF483D8B | |
| Array 0–1 | [0.282, 0.239, 0.545] | |
| Array 0–255 | [72, 61, 139] | |
| Decimal integer | 4734347 |
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 |
|---|---|---|---|---|
| Dark Slate Blue on white | 9.07:1 | AAA | Lc 91 | Body text at any size |
| Dark Slate Blue on black | 2.32:1 | Fail | Lc 12 | Not usable for text |
Dark Slate Blue text on a white background
Dark Slate Blue text on a black background
White text on Dark Slate Blue
Black text on Dark Slate Blue
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#f5f5ff
- 100#eaeaff
- 200#d7d6ff
- 300#bfbbff
- 400#a39df2
- 500#857fd3
- 600#6d65b4
- 700#574f97
- 800#443c7e
- 900#352d68
- 950#1e1644
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#625c9f
- Tint 2#7f7cb3
- Tint 3#9d9bc6
- Tint 4#bcbcda
- Tint 5#ddddec
- Shade 1#362e6c
- Shade 2#261f4e
- Shade 3#161232
- Shade 4#080619
- Shade 5#010104
Colours that work with Dark Slate Blue
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #544e00
- #7f2f00
- #005d3d
- #134a8d
- #653178
Closest CSS names
darkslateblueexact matchrebeccapurpleΔEok 0.061indigoΔEok 0.101darkslategrayΔEok 0.131midnightblueΔEok 0.131purpleΔEok 0.132