#39478B#39478B

#39478B is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.3% C 0.113 H 272.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#39478B
RGBrgb(57, 71, 139)
HSLhsl(230, 42%, 38%)
HSVhsv(230, 59%, 55%)
CMYKcmyk(59%, 48.9%, 0%, 45.5%)
CIE-LABlab(32.35, 16.07, -39.71)
CIE-LCHlch(32.35, 42.83, 292.04°)
OKLaboklab(42.28% 0.0039 -0.1133)
OKLCHoklch(42.28% 0.113 272)
XYZxyz(8.5992, 7.2398, 25.3654)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39478B #8B7D39
analogous
#39708B #39478B #54398B
triadic
#39478B #8B3947 #478B39
tetradic
#39478B #8B3970 #8B7D39 #398B54
square
#39478B #8B3970 #8B7D39 #398B54
split-complementary
#39478B #8B5439 #708B39
monochromatic
#151B34 #273160 #39478B #4C5EB5 #7785C7

Accessibility & contrast

On white

8.58
#39478B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#39478B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39478B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39478B#FFFFFF#000000##FFFFFF
##39478B1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508D
Deuteranopia (green-blind)
#1A498A
Tritanopia (blue-blind)
#015662
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #39478b;
/* rgb */ color: rgb(57, 71, 139);
/* oklch */ color: oklch(42.3% 0.113 272.0);
Tailwind
colors: {
  custom: {
    50: '#7779ad',
    500: '#39478b',
    950: '#000000',
  },
}
SCSS
$custom: #39478b;
$custom-light: #7779ad;
$custom-dark: #000000;
JSON
{
  "hex": "#39478b",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 229.756,
    "s": 41.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42278,
    "c": 0.11339,
    "h": 272
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#39478B
secondary
#B0A56F
accent
#BD56D2
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #39478B

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

Preview Lab → · Contrast checker → · Palette generator →

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