#392F78#392F78

#392F78 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 36.0% C 0.120 H 284.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#392F78
RGBrgb(57, 47, 120)
HSLhsl(248, 44%, 33%)
HSVhsv(248, 61%, 47%)
CMYKcmyk(52.5%, 60.8%, 0%, 52.9%)
CIE-LABlab(24.51, 25.50, -40.46)
CIE-LCHlch(24.51, 47.83, 302.22°)
OKLaboklab(35.98% 0.0308 -0.1158)
OKLCHoklch(35.98% 0.12 284.9)
XYZxyz(6.0930, 4.2586, 18.2666)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392F78 #6E782F
analogous
#2F4978 #392F78 #5D2F78
triadic
#392F78 #78392F #2F7839
tetradic
#392F78 #782F49 #6E782F #2F785D
square
#392F78 #782F49 #6E782F #2F785D
split-complementary
#392F78 #785D2F #49782F
monochromatic
#0F0D20 #241E4C #392F78 #4E40A4 #6E60C1

Accessibility & contrast

On white

11.34
#392F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#392F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392F78
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392F78#FFFFFF#000000##FFFFFF
##392F781.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003876
Tritanopia (blue-blind)
#22404E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392f78;
/* rgb */ color: rgb(57, 47, 120);
/* oklch */ color: oklch(36.0% 0.120 284.9);
Tailwind
colors: {
  custom: {
    50: '#7568a0',
    500: '#392f78',
    950: '#000000',
  },
}
SCSS
$custom: #392f78;
$custom-light: #7568a0;
$custom-dark: #000000;
JSON
{
  "hex": "#392f78",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 248.219,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35976,
    "c": 0.11978,
    "h": 284.9
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#392F78
secondary
#9DA85B
accent
#D354C2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #392F78

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

Preview Lab → · Contrast checker → · Palette generator →

#392F78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva