#39408A#39408A

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

Color values

HEX#39408A
RGBrgb(57, 64, 138)
HSLhsl(235, 42%, 38%)
HSVhsv(235, 59%, 54%)
CMYKcmyk(58.7%, 53.6%, 0%, 45.9%)
CIE-LABlab(30.33, 20.39, -42.33)
CIE-LCHlch(30.33, 46.99, 295.72°)
OKLaboklab(40.73% 0.0117 -0.1211)
OKLCHoklch(40.73% 0.122 275.5)
XYZxyz(8.1067, 6.3710, 24.8424)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39408A #8A8339
analogous
#39688A #39408A #5A398A
triadic
#39408A #8A3940 #408A39
tetradic
#39408A #8A3968 #8A8339 #398A5A
square
#39408A #8A3968 #8A8339 #398A5A
split-complementary
#39408A #8A5A39 #688A39
monochromatic
#151833 #272C5F #39408A #4B54B5 #777EC7

Accessibility & contrast

On white

9.23
#39408A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#39408A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39408A
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39408A#FFFFFF#000000##FFFFFF
##39408A1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8D
Deuteranopia (green-blind)
#044488
Tritanopia (blue-blind)
#07515E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #39408a;
/* rgb */ color: rgb(57, 64, 138);
/* oklch */ color: oklch(40.7% 0.122 275.5);
Tailwind
colors: {
  custom: {
    50: '#7774ad',
    500: '#39408a',
    950: '#000000',
  },
}
SCSS
$custom: #39408a;
$custom-light: #7774ad;
$custom-dark: #000000;
JSON
{
  "hex": "#39408a",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 234.815,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40732,
    "c": 0.12169,
    "h": 275.5
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#39408A
secondary
#B0AA6F
accent
#C756D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #39408A

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

Preview Lab → · Contrast checker → · Palette generator →

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