#39408D#39408D

#39408D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.126 H 275.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#39408D
RGBrgb(57, 64, 141)
HSLhsl(235, 42%, 39%)
HSVhsv(235, 60%, 55%)
CMYKcmyk(59.6%, 54.6%, 0%, 44.7%)
CIE-LABlab(30.54, 21.45, -43.84)
CIE-LCHlch(30.54, 48.81, 296.08°)
OKLaboklab(40.96% 0.0119 -0.1255)
OKLCHoklch(40.96% 0.126 275.4)
XYZxyz(8.3269, 6.4591, 26.0021)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39408D #8D8639
analogous
#396A8D #39408D #5C398D
triadic
#39408D #8D3940 #408D39
tetradic
#39408D #8D396A #8D8639 #398D5C
square
#39408D #8D396A #8D8639 #398D5C
split-complementary
#39408D #8D5C39 #6A8D39
monochromatic
#161836 #272C61 #39408D #4C55B7 #787FC8

Accessibility & contrast

On white

9.16
#39408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#39408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39408D
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39408D#FFFFFF#000000##FFFFFF
##39408D1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #39408d;
/* rgb */ color: rgb(57, 64, 141);
/* oklch */ color: oklch(41.0% 0.126 275.4);
Tailwind
colors: {
  custom: {
    50: '#7774af',
    500: '#39408d',
    950: '#000000',
  },
}
SCSS
$custom: #39408d;
$custom-light: #7774af;
$custom-dark: #000000;
JSON
{
  "hex": "#39408d",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 235,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4096,
    "c": 0.12612,
    "h": 275.4
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#39408D
secondary
#B2AC70
accent
#C856D2
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #39408D

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

Preview Lab → · Contrast checker → · Palette generator →

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