#39408F#39408F

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

Color values

HEX#39408F
RGBrgb(57, 64, 143)
HSLhsl(235, 43%, 39%)
HSVhsv(235, 60%, 56%)
CMYKcmyk(60.1%, 55.2%, 0%, 43.9%)
CIE-LABlab(30.69, 22.16, -44.83)
CIE-LCHlch(30.69, 50.01, 296.30°)
OKLaboklab(41.11% 0.0121 -0.1285)
OKLCHoklch(41.11% 0.129 275.4)
XYZxyz(8.4771, 6.5192, 26.7929)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39408F #8F8839
analogous
#396B8F #39408F #5D398F
triadic
#39408F #8F3940 #408F39
tetradic
#39408F #8F396B #8F8839 #398F5D
square
#39408F #8F396B #8F8839 #398F5D
split-complementary
#39408F #8F5D39 #6B8F39
monochromatic
#161937 #282C63 #39408F #4D56B8 #797FCA

Accessibility & contrast

On white

9.11
#39408F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#39408F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39408F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39408F#FFFFFF#000000##FFFFFF
##39408F1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #39408f;
/* rgb */ color: rgb(57, 64, 143);
/* oklch */ color: oklch(41.1% 0.129 275.4);
Tailwind
colors: {
  custom: {
    50: '#7874b0',
    500: '#39408f',
    950: '#000000',
  },
}
SCSS
$custom: #39408f;
$custom-light: #7874b0;
$custom-dark: #000000;
JSON
{
  "hex": "#39408f",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 235.116,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41113,
    "c": 0.12905,
    "h": 275.4
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#39408F
secondary
#B3AD71
accent
#C955D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #39408F

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

Preview Lab → · Contrast checker → · Palette generator →

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