#392C8A#392C8A

#392C8A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.149 H 282.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#392C8A
RGBrgb(57, 44, 138)
HSLhsl(248, 52%, 36%)
HSVhsv(248, 68%, 54%)
CMYKcmyk(58.7%, 68.1%, 0%, 45.9%)
CIE-LABlab(25.28, 33.39, -50.53)
CIE-LCHlch(25.28, 60.56, 303.45°)
OKLaboklab(37% 0.0325 -0.1454)
OKLCHoklch(37% 0.149 282.6)
XYZxyz(7.1741, 4.5057, 24.5315)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392C8A #7D8A2C
analogous
#2C4E8A #392C8A #682C8A
triadic
#392C8A #8A392C #2C8A39
tetradic
#392C8A #8A2C4E #7D8A2C #2C8A68
square
#392C8A #8A2C4E #7D8A2C #2C8A68
split-complementary
#392C8A #8A682C #4E8A2C
monochromatic
#130E2D #261D5C #392C8A #4C3BB8 #7263CD

Accessibility & contrast

On white

11.05
#392C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#392C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392C8A
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392C8A#FFFFFF#000000##FFFFFF
##392C8A1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#0D4457
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #392c8a;
/* rgb */ color: rgb(57, 44, 138);
/* oklch */ color: oklch(37.0% 0.149 282.6);
Tailwind
colors: {
  custom: {
    50: '#7866ad',
    500: '#392c8a',
    950: '#000000',
  },
}
SCSS
$custom: #392c8a;
$custom-light: #7866ad;
$custom-dark: #000000;
JSON
{
  "hex": "#392c8a",
  "rgb": {
    "r": 57,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 248.298,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37004,
    "c": 0.14895,
    "h": 282.6
  },
  "luminance": 0.04506
}

Semantic roles & 50–950 ramp

primary
#392C8A
secondary
#A8B45E
accent
#DB4DC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #392C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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