#39408B#39408B

#39408B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.123 H 275.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#39408B
RGBrgb(57, 64, 139)
HSLhsl(235, 42%, 38%)
HSVhsv(235, 59%, 55%)
CMYKcmyk(59%, 54%, 0%, 45.5%)
CIE-LABlab(30.40, 20.75, -42.83)
CIE-LCHlch(30.40, 47.59, 295.84°)
OKLaboklab(40.81% 0.0118 -0.1226)
OKLCHoklch(40.81% 0.123 275.5)
XYZxyz(8.1794, 6.4001, 25.2254)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39408B #8B8439
analogous
#39698B #39408B #5B398B
triadic
#39408B #8B3940 #408B39
tetradic
#39408B #8B3969 #8B8439 #398B5B
square
#39408B #8B3969 #8B8439 #398B5B
split-complementary
#39408B #8B5B39 #698B39
monochromatic
#151834 #272C60 #39408B #4C55B5 #777EC7

Accessibility & contrast

On white

9.21
#39408B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#39408B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39408B
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39408B#FFFFFF#000000##FFFFFF
##39408B1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8E
Deuteranopia (green-blind)
#014489
Tritanopia (blue-blind)
#04515F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #39408b;
/* rgb */ color: rgb(57, 64, 139);
/* oklch */ color: oklch(40.8% 0.123 275.5);
Tailwind
colors: {
  custom: {
    50: '#7774ad',
    500: '#39408b',
    950: '#000000',
  },
}
SCSS
$custom: #39408b;
$custom-light: #7774ad;
$custom-dark: #000000;
JSON
{
  "hex": "#39408b",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 234.878,
    "s": 41.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40808,
    "c": 0.12317,
    "h": 275.5
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#39408B
secondary
#B0AB6F
accent
#C756D2
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #39408B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#39408B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva