#392EA6#392EA6

#392EA6 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.183 H 278.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#392EA6
RGBrgb(57, 46, 166)
HSLhsl(246, 57%, 42%)
HSVhsv(246, 72%, 65%)
CMYKcmyk(65.7%, 72.3%, 0%, 34.9%)
CIE-LABlab(28.32, 41.39, -62.71)
CIE-LCHlch(28.32, 75.13, 303.43°)
OKLaboklab(39.98% 0.0263 -0.181)
OKLCHoklch(39.98% 0.183 278.3)
XYZxyz(9.5451, 5.5762, 36.6423)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392EA6 #9BA62E
analogous
#2E5FA6 #392EA6 #752EA6
triadic
#392EA6 #A6392E #2EA639
tetradic
#392EA6 #A62E5F #9BA62E #2EA675
square
#392EA6 #A62E5F #9BA62E #2EA675
split-complementary
#392EA6 #A6752E #5FA62E
monochromatic
#181346 #292176 #392EA6 #5246CC #7F76D9

Accessibility & contrast

On white

9.93
#392EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#392EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392EA6
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392EA6#FFFFFF#000000##FFFFFF
##392EA61.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #392ea6;
/* rgb */ color: rgb(57, 46, 166);
/* oklch */ color: oklch(40.0% 0.183 278.3);
Tailwind
colors: {
  custom: {
    50: '#7e68c2',
    500: '#392ea6',
    950: '#000000',
  },
}
SCSS
$custom: #392ea6;
$custom-light: #7e68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#392ea6",
  "rgb": {
    "r": 57,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 245.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39982,
    "c": 0.18292,
    "h": 278.3
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#392EA6
secondary
#B9C16F
accent
#E048D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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