#392D86#392D86

#392D86 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.142 H 283.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#392D86
RGBrgb(57, 45, 134)
HSLhsl(248, 50%, 35%)
HSVhsv(248, 66%, 53%)
CMYKcmyk(57.5%, 66.4%, 0%, 47.5%)
CIE-LABlab(25.16, 31.44, -48.23)
CIE-LCHlch(25.16, 57.57, 303.10°)
OKLaboklab(36.81% 0.032 -0.1386)
OKLCHoklch(36.81% 0.142 283)
XYZxyz(6.9275, 4.4674, 23.0469)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392D86 #7A862D
analogous
#2D4D86 #392D86 #662D86
triadic
#392D86 #86392D #2D8639
tetradic
#392D86 #862D4D #7A862D #2D8666
square
#392D86 #862D4D #7A862D #2D8666
split-complementary
#392D86 #86662D #4D862D
monochromatic
#120E2A #261E58 #392D86 #4C3CB4 #7163CB

Accessibility & contrast

On white

11.09
#392D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#392D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392D86
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392D86#FFFFFF#000000##FFFFFF
##392D861.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#134355
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #392d86;
/* rgb */ color: rgb(57, 45, 134);
/* oklch */ color: oklch(36.8% 0.142 283.0);
Tailwind
colors: {
  custom: {
    50: '#7867aa',
    500: '#392d86',
    950: '#000000',
  },
}
SCSS
$custom: #392d86;
$custom-light: #7867aa;
$custom-dark: #000000;
JSON
{
  "hex": "#392d86",
  "rgb": {
    "r": 57,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 248.09,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36811,
    "c": 0.14224,
    "h": 283
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#392D86
secondary
#A6B15E
accent
#D94FC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #392D86

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

Preview Lab → · Contrast checker → · Palette generator →

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