#392CA6#392CA6

#392CA6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.185 H 278.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#392CA6
RGBrgb(57, 44, 166)
HSLhsl(246, 58%, 41%)
HSVhsv(246, 73%, 65%)
CMYKcmyk(65.7%, 73.5%, 0%, 34.9%)
CIE-LABlab(27.91, 42.52, -63.38)
CIE-LCHlch(27.91, 76.32, 303.86°)
OKLaboklab(39.69% 0.0276 -0.183)
OKLCHoklch(39.69% 0.185 278.6)
XYZxyz(9.4687, 5.4236, 36.6169)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392CA6 #99A62C
analogous
#2C5CA6 #392CA6 #762CA6
triadic
#392CA6 #A6392C #2CA639
tetradic
#392CA6 #A62C5C #99A62C #2CA676
square
#392CA6 #A62C5C #99A62C #2CA676
split-complementary
#392CA6 #A6762C #5CA62C
monochromatic
#181245 #281F76 #392CA6 #5142CD #7E73DA

Accessibility & contrast

On white

10.07
#392CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#392CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392CA6
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392CA6#FFFFFF#000000##FFFFFF
##392CA61.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #392ca6;
/* rgb */ color: rgb(57, 44, 166);
/* oklch */ color: oklch(39.7% 0.185 278.6);
Tailwind
colors: {
  custom: {
    50: '#7e67c2',
    500: '#392ca6',
    950: '#000000',
  },
}
SCSS
$custom: #392ca6;
$custom-light: #7e67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#392ca6",
  "rgb": {
    "r": 57,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 246.393,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39692,
    "c": 0.18504,
    "h": 278.6
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#392CA6
secondary
#B8C16D
accent
#E146D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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