#392D87#392D87

#392D87 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.144 H 282.8°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#392D87
RGBrgb(57, 45, 135)
HSLhsl(248, 50%, 35%)
HSVhsv(248, 67%, 53%)
CMYKcmyk(57.8%, 66.7%, 0%, 47.1%)
CIE-LABlab(25.25, 31.77, -48.71)
CIE-LCHlch(25.25, 58.16, 303.12°)
OKLaboklab(36.9% 0.0319 -0.14)
OKLCHoklch(36.9% 0.144 282.8)
XYZxyz(6.9976, 4.4955, 23.4160)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392D87 #7B872D
analogous
#2D4E87 #392D87 #662D87
triadic
#392D87 #87392D #2D8739
tetradic
#392D87 #872D4E #7B872D #2D8766
square
#392D87 #872D4E #7B872D #2D8766
split-complementary
#392D87 #87662D #4E872D
monochromatic
#120E2B #261E59 #392D87 #4C3CB5 #7163CB

Accessibility & contrast

On white

11.06
#392D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392D87
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392D87#FFFFFF#000000##FFFFFF
##392D871.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#124456
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #392d87;
/* rgb */ color: rgb(57, 45, 135);
/* oklch */ color: oklch(36.9% 0.144 282.8);
Tailwind
colors: {
  custom: {
    50: '#7867ab',
    500: '#392d87',
    950: '#000000',
  },
}
SCSS
$custom: #392d87;
$custom-light: #7867ab;
$custom-dark: #000000;
JSON
{
  "hex": "#392d87",
  "rgb": {
    "r": 57,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 248,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.369,
    "c": 0.1436,
    "h": 282.8
  },
  "luminance": 0.04496
}

Semantic roles & 50–950 ramp

primary
#392D87
secondary
#A6B25E
accent
#DA4EC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #392D87

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

Preview Lab → · Contrast checker → · Palette generator →

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