#392AA4#392AA4

#392AA4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.185 H 279.2°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#392AA4
RGBrgb(57, 42, 164)
HSLhsl(247, 59%, 40%)
HSVhsv(247, 74%, 64%)
CMYKcmyk(65.2%, 74.4%, 0%, 35.7%)
CIE-LABlab(27.31, 43.00, -63.15)
CIE-LCHlch(27.31, 76.40, 304.25°)
OKLaboklab(39.21% 0.0294 -0.1823)
OKLCHoklch(39.21% 0.185 279.2)
XYZxyz(9.2140, 5.2054, 35.6339)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392AA4 #95A42A
analogous
#2A58A4 #392AA4 #762AA4
triadic
#392AA4 #A4392A #2AA439
tetradic
#392AA4 #A42A58 #95A42A #2AA476
square
#392AA4 #A42A58 #95A42A #2AA476
split-complementary
#392AA4 #A4762A #58A42A
monochromatic
#171143 #281E73 #392AA4 #4F3ECD #7C6EDA

Accessibility & contrast

On white

10.29
#392AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#392AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392AA4
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392AA4#FFFFFF#000000##FFFFFF
##392AA41.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #392aa4;
/* rgb */ color: rgb(57, 42, 164);
/* oklch */ color: oklch(39.2% 0.185 279.2);
Tailwind
colors: {
  custom: {
    50: '#7e66c0',
    500: '#392aa4',
    950: '#000000',
  },
}
SCSS
$custom: #392aa4;
$custom-light: #7e66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#392aa4",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 247.377,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39209,
    "c": 0.18464,
    "h": 279.2
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#392AA4
secondary
#B6C169
accent
#E245CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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