#392D8A#392D8A

#392D8A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.148 H 282.3°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#392D8A
RGBrgb(57, 45, 138)
HSLhsl(248, 51%, 36%)
HSVhsv(248, 67%, 54%)
CMYKcmyk(58.7%, 67.4%, 0%, 45.9%)
CIE-LABlab(25.51, 32.77, -50.16)
CIE-LCHlch(25.51, 59.91, 303.16°)
OKLaboklab(37.17% 0.0316 -0.1443)
OKLCHoklch(37.17% 0.148 282.3)
XYZxyz(7.2118, 4.5811, 24.5441)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392D8A #7E8A2D
analogous
#2D4F8A #392D8A #672D8A
triadic
#392D8A #8A392D #2D8A39
tetradic
#392D8A #8A2D4F #7E8A2D #2D8A67
square
#392D8A #8A2D4F #7E8A2D #2D8A67
split-complementary
#392D8A #8A672D #4F8A2D
monochromatic
#130F2E #261E5C #392D8A #4C3CB8 #7265CD

Accessibility & contrast

On white

10.96
#392D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#392D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392D8A
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392D8A#FFFFFF#000000##FFFFFF
##392D8A1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#0D4557
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #392d8a;
/* rgb */ color: rgb(57, 45, 138);
/* oklch */ color: oklch(37.2% 0.148 282.3);
Tailwind
colors: {
  custom: {
    50: '#7867ad',
    500: '#392d8a',
    950: '#000000',
  },
}
SCSS
$custom: #392d8a;
$custom-light: #7867ad;
$custom-dark: #000000;
JSON
{
  "hex": "#392d8a",
  "rgb": {
    "r": 57,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 247.742,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37169,
    "c": 0.14767,
    "h": 282.3
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#392D8A
secondary
#A8B360
accent
#DA4DC8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #392D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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