#392D9C#392D9C

#392D9C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.171 H 279.7°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#392D9C
RGBrgb(57, 45, 156)
HSLhsl(246, 55%, 39%)
HSVhsv(246, 71%, 61%)
CMYKcmyk(63.5%, 71.2%, 0%, 38.8%)
CIE-LABlab(27.15, 38.70, -58.56)
CIE-LCHlch(27.15, 70.19, 303.46°)
OKLaboklab(38.86% 0.0288 -0.1689)
OKLCHoklch(38.86% 0.171 279.7)
XYZxyz(8.6246, 5.1463, 31.9849)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392D9C #909C2D
analogous
#2D599C #392D9C #702D9C
triadic
#392D9C #9C392D #2D9C39
tetradic
#392D9C #9C2D59 #909C2D #2D9C70
square
#392D9C #9C2D59 #909C2D #2D9C70
split-complementary
#392D9C #9C702D #599C2D
monochromatic
#16123D #281F6D #392D9C #4D3FC8 #796ED5

Accessibility & contrast

On white

10.35
#392D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#392D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392D9C
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392D9C#FFFFFF#000000##FFFFFF
##392D9C1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #392d9c;
/* rgb */ color: rgb(57, 45, 156);
/* oklch */ color: oklch(38.9% 0.171 279.7);
Tailwind
colors: {
  custom: {
    50: '#7c67ba',
    500: '#392d9c',
    950: '#000000',
  },
}
SCSS
$custom: #392d9c;
$custom-light: #7c67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#392d9c",
  "rgb": {
    "r": 57,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 246.486,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38855,
    "c": 0.17133,
    "h": 279.7
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#392D9C
secondary
#B3BC68
accent
#DF49CE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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