#39408C#39408C

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

Color values

HEX#39408C
RGBrgb(57, 64, 140)
HSLhsl(235, 42%, 39%)
HSVhsv(235, 59%, 55%)
CMYKcmyk(59.3%, 54.3%, 0%, 45.1%)
CIE-LABlab(30.47, 21.10, -43.34)
CIE-LCHlch(30.47, 48.20, 295.96°)
OKLaboklab(40.88% 0.0119 -0.1241)
OKLCHoklch(40.88% 0.125 275.5)
XYZxyz(8.2528, 6.4295, 25.6120)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39408C #8C8539
analogous
#39698C #39408C #5B398C
triadic
#39408C #8C3940 #408C39
tetradic
#39408C #8C3969 #8C8539 #398C5B
square
#39408C #8C3969 #8C8539 #398C5B
split-complementary
#39408C #8C5B39 #698C39
monochromatic
#161835 #272C61 #39408C #4C55B6 #787EC8

Accessibility & contrast

On white

9.19
#39408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39408C
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39408C#FFFFFF#000000##FFFFFF
##39408C1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134B8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#02515F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #39408c;
/* rgb */ color: rgb(57, 64, 140);
/* oklch */ color: oklch(40.9% 0.125 275.5);
Tailwind
colors: {
  custom: {
    50: '#7774ae',
    500: '#39408c',
    950: '#000000',
  },
}
SCSS
$custom: #39408c;
$custom-light: #7774ae;
$custom-dark: #000000;
JSON
{
  "hex": "#39408c",
  "rgb": {
    "r": 57,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 234.94,
    "s": 42.132,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40883,
    "c": 0.12465,
    "h": 275.5
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39408C

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

Preview Lab → · Contrast checker → · Palette generator →

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