#392BA2#392BA2

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

Color values

HEX#392BA2
RGBrgb(57, 43, 162)
HSLhsl(247, 58%, 40%)
HSVhsv(247, 73%, 64%)
CMYKcmyk(64.8%, 73.5%, 0%, 36.5%)
CIE-LABlab(27.31, 41.80, -61.94)
CIE-LCHlch(27.31, 74.72, 304.01°)
OKLaboklab(39.15% 0.0291 -0.1788)
OKLCHoklch(39.15% 0.181 279.3)
XYZxyz(9.0707, 5.2055, 34.7022)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392BA2 #94A22B
analogous
#2B58A2 #392BA2 #752BA2
triadic
#392BA2 #A2392B #2BA239
tetradic
#392BA2 #A22B58 #94A22B #2BA275
square
#392BA2 #A22B58 #94A22B #2BA275
split-complementary
#392BA2 #A2752B #58A22B
monochromatic
#171141 #281E72 #392BA2 #4F3ECC #7B6FD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##392BA2#FFFFFF#000000##FFFFFF
##392BA21.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)
#0045A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #392ba2;
/* rgb */ color: rgb(57, 43, 162);
/* oklch */ color: oklch(39.1% 0.181 279.3);
Tailwind
colors: {
  custom: {
    50: '#7d66bf',
    500: '#392ba2',
    950: '#000000',
  },
}
SCSS
$custom: #392ba2;
$custom-light: #7d66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#392ba2",
  "rgb": {
    "r": 57,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 247.059,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39149,
    "c": 0.18112,
    "h": 279.3
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#392BA2
secondary
#B6C069
accent
#E147CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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