#392D9D#392D9D

#392D9D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.173 H 279.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#392D9D
RGBrgb(57, 45, 157)
HSLhsl(246, 55%, 40%)
HSVhsv(246, 71%, 62%)
CMYKcmyk(63.7%, 71.3%, 0%, 38.4%)
CIE-LABlab(27.24, 39.03, -59.01)
CIE-LCHlch(27.24, 70.75, 303.48°)
OKLaboklab(38.95% 0.0287 -0.1702)
OKLCHoklch(38.95% 0.173 279.6)
XYZxyz(8.7096, 5.1803, 32.4327)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392D9D #919D2D
analogous
#2D599D #392D9D #712D9D
triadic
#392D9D #9D392D #2D9D39
tetradic
#392D9D #9D2D59 #919D2D #2D9D71
square
#392D9D #9D2D59 #919D2D #2D9D71
split-complementary
#392D9D #9D712D #599D2D
monochromatic
#16123E #281F6D #392D9D #4E3FC8 #7A6FD6

Accessibility & contrast

On white

10.31
#392D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392D9D
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392D9D#FFFFFF#000000##FFFFFF
##392D9D1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #392d9d;
/* rgb */ color: rgb(57, 45, 157);
/* oklch */ color: oklch(39.0% 0.173 279.6);
Tailwind
colors: {
  custom: {
    50: '#7c67bb',
    500: '#392d9d',
    950: '#000000',
  },
}
SCSS
$custom: #392d9d;
$custom-light: #7c67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#392d9d",
  "rgb": {
    "r": 57,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 246.429,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38952,
    "c": 0.17261,
    "h": 279.6
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#392D9D
secondary
#B4BD69
accent
#DF49CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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