#392E78#392E78

#392E78 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.121 H 285.3°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#392E78
RGBrgb(57, 46, 120)
HSLhsl(249, 45%, 33%)
HSVhsv(249, 62%, 47%)
CMYKcmyk(52.5%, 61.7%, 0%, 52.9%)
CIE-LABlab(24.26, 26.16, -40.87)
CIE-LCHlch(24.26, 48.52, 302.62°)
OKLaboklab(35.79% 0.032 -0.117)
OKLCHoklch(35.79% 0.121 285.3)
XYZxyz(6.0535, 4.1796, 18.2534)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392E78 #6D782E
analogous
#2E4878 #392E78 #5E2E78
triadic
#392E78 #78392E #2E7839
tetradic
#392E78 #782E48 #6D782E #2E785E
square
#392E78 #782E48 #6D782E #2E785E
split-complementary
#392E78 #785E2E #48782E
monochromatic
#0F0C20 #241D4C #392E78 #4E3FA4 #6D5FC2

Accessibility & contrast

On white

11.44
#392E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#392E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392E78
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392E78#FFFFFF#000000##FFFFFF
##392E781.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003776
Tritanopia (blue-blind)
#223F4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392e78;
/* rgb */ color: rgb(57, 46, 120);
/* oklch */ color: oklch(35.8% 0.121 285.3);
Tailwind
colors: {
  custom: {
    50: '#7567a0',
    500: '#392e78',
    950: '#000000',
  },
}
SCSS
$custom: #392e78;
$custom-light: #7567a0;
$custom-dark: #000000;
JSON
{
  "hex": "#392e78",
  "rgb": {
    "r": 57,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 248.919,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35791,
    "c": 0.12125,
    "h": 285.3
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#392E78
secondary
#9DA85A
accent
#D454C1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #392E78

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

Preview Lab → · Contrast checker → · Palette generator →

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