#39478A#39478A

#39478A is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.2% C 0.112 H 271.9°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#39478A
RGBrgb(57, 71, 138)
HSLhsl(230, 42%, 38%)
HSVhsv(230, 59%, 54%)
CMYKcmyk(58.7%, 48.6%, 0%, 45.9%)
CIE-LABlab(32.28, 15.72, -39.19)
CIE-LCHlch(32.28, 42.23, 291.85°)
OKLaboklab(42.21% 0.0038 -0.1118)
OKLCHoklch(42.21% 0.112 271.9)
XYZxyz(8.5265, 7.2107, 24.9823)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39478A #8A7C39
analogous
#396F8A #39478A #54398A
triadic
#39478A #8A3947 #478A39
tetradic
#39478A #8A396F #8A7C39 #398A54
square
#39478A #8A396F #8A7C39 #398A54
split-complementary
#39478A #8A5439 #6F8A39
monochromatic
#151A33 #27315F #39478A #4B5EB5 #7785C7

Accessibility & contrast

On white

8.60
#39478A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#39478A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39478A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39478A#FFFFFF#000000##FFFFFF
##39478A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508C
Deuteranopia (green-blind)
#1C4989
Tritanopia (blue-blind)
#045662
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #39478a;
/* rgb */ color: rgb(57, 71, 138);
/* oklch */ color: oklch(42.2% 0.112 271.9);
Tailwind
colors: {
  custom: {
    50: '#7779ac',
    500: '#39478a',
    950: '#000000',
  },
}
SCSS
$custom: #39478a;
$custom-light: #7779ac;
$custom-dark: #000000;
JSON
{
  "hex": "#39478a",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 229.63,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42208,
    "c": 0.11188,
    "h": 271.9
  },
  "luminance": 0.07211
}

Semantic roles & 50–950 ramp

primary
#39478A
secondary
#B0A56F
accent
#BC56D1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #39478A

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

Preview Lab → · Contrast checker → · Palette generator →

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