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

Open in the picker

Dark Slate Blue in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#483d8b
RGBrgb(72 61 139)
RGB legacyrgb(72, 61, 139)
RGB percentrgb(28.24% 23.92% 54.51%)
HSLhsl(248.5 39% 39.2%)
HSL legacyhsl(248.5, 39%, 39.2%)
HSV / HSBhsv(248.5, 56.1%, 54.5%)
HWBhwb(248.5 23.9% 45.5%)
Nearest namedarkslateblue
CMYKcmyk(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.

OKLChoklch(41.434% 0.12484 286.039)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(41.434% 0.03449 -0.11998)
CIE LChlch(30.284% 47.807 296.61)
CIE Lablab(30.284% 21.413 -42.744)
Display P3color(display-p3 0.2753 0.2408 0.5267)
Rec. 2020color(rec2020 0.2269 0.1871 0.4752)
srgb-linearcolor(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 — sRGBvec3(0.282, 0.239, 0.545)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.065, 0.047, 0.258)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.282, 0.239, 0.545, 1.0)
GLSL vec4 — linearvec4(0.065, 0.047, 0.258, 1.0)
GLSL ivec3ivec3(72, 61, 139)
HLSL float3 — sRGBfloat3(0.282, 0.239, 0.545)
HLSL float3 — linearfloat3(0.065, 0.047, 0.258)
HLSL float4 — sRGBfloat4(0.282, 0.239, 0.545, 1.0)
HLSL half4 — sRGBhalf4(0.282, 0.239, 0.545, 1.0)
WGSL vec3f — sRGBvec3f(0.282, 0.239, 0.545)
WGSL vec4f — sRGBvec4f(0.282, 0.239, 0.545, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.065, 0.047, 0.258)

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

Unity Colornew 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 Color32new Color32(72, 61, 139, 255)
Unreal FLinearColorFLinearColor(0.0648f, 0.0467f, 0.2582f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(72, 61, 139, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.282, 0.239, 0.545, 1)
Flutter ColorColor(0xFF483D8B)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(72, 61, 139)
SwiftUI ColorColor(red: 0.282, green: 0.239, blue: 0.545)
UIKit UIColorUIColor(red: 0.282, green: 0.239, blue: 0.545, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0x483D8B
0x hex (ARGB)0xFF483D8B
Array 0–1[0.282, 0.239, 0.545]
Array 0–255[72, 61, 139]
Decimal integer4734347

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
Dark Slate Blue on white9.07:1AAALc 91Body text at any size
Dark Slate Blue on black2.32:1FailLc 12Not 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 match
  • rebeccapurpleΔEok 0.061
  • indigoΔEok 0.101
  • darkslategrayΔEok 0.131
  • midnightblueΔEok 0.131
  • purpleΔEok 0.132