#39408E#39408E

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

Color values

HEX#39408E
RGBrgb(57, 64, 142)
HSLhsl(235, 43%, 39%)
HSVhsv(235, 60%, 56%)
CMYKcmyk(59.9%, 54.9%, 0%, 44.3%)
CIE-LABlab(30.61, 21.81, -44.34)
CIE-LCHlch(30.61, 49.41, 296.19°)
OKLaboklab(41.04% 0.012 -0.127)
OKLCHoklch(41.04% 0.128 275.4)
XYZxyz(8.4016, 6.4890, 26.3957)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39408E #8E8739
analogous
#396B8E #39408E #5D398E
triadic
#39408E #8E3940 #408E39
tetradic
#39408E #8E396B #8E8739 #398E5D
square
#39408E #8E396B #8E8739 #398E5D
split-complementary
#39408E #8E5D39 #6B8E39
monochromatic
#161937 #272C62 #39408E #4D56B7 #787FC9

Accessibility & contrast

On white

9.14
#39408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39408E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39408E#FFFFFF#000000##FFFFFF
##39408E1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4C91
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #39408e;
/* rgb */ color: rgb(57, 64, 142);
/* oklch */ color: oklch(41.0% 0.128 275.4);
Tailwind
colors: {
  custom: {
    50: '#7874b0',
    500: '#39408e',
    950: '#000000',
  },
}
SCSS
$custom: #39408e;
$custom-light: #7874b0;
$custom-dark: #000000;
JSON
{
  "hex": "#39408e",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 235.059,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41036,
    "c": 0.12759,
    "h": 275.4
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#39408E
secondary
#B2AD71
accent
#C855D2
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #39408E

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

Preview Lab → · Contrast checker → · Palette generator →

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