#392A87#392A87

#392A87 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.147 H 283.7°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#392A87
RGBrgb(57, 42, 135)
HSLhsl(250, 53%, 35%)
HSVhsv(250, 69%, 53%)
CMYKcmyk(57.8%, 68.9%, 0%, 47.1%)
CIE-LABlab(24.56, 33.63, -49.83)
CIE-LCHlch(24.56, 60.12, 304.01°)
OKLaboklab(36.4% 0.0348 -0.1433)
OKLCHoklch(36.4% 0.147 283.7)
XYZxyz(6.8871, 4.2746, 23.3791)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392A87 #78872A
analogous
#2A4A87 #392A87 #672A87
triadic
#392A87 #87392A #2A8739
tetradic
#392A87 #872A4A #78872A #2A8767
square
#392A87 #872A4A #78872A #2A8767
split-complementary
#392A87 #87672A #4A872A
monochromatic
#120D2A #251B58 #392A87 #4D39B6 #705ECD

Accessibility & contrast

On white

11.32
#392A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#392A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392A87
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392A87#FFFFFF#000000##FFFFFF
##392A871.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#134255
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #392a87;
/* rgb */ color: rgb(57, 42, 135);
/* oklch */ color: oklch(36.4% 0.147 283.7);
Tailwind
colors: {
  custom: {
    50: '#7865ab',
    500: '#392a87',
    950: '#000000',
  },
}
SCSS
$custom: #392a87;
$custom-light: #7865ab;
$custom-dark: #000000;
JSON
{
  "hex": "#392a87",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 249.677,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36403,
    "c": 0.14748,
    "h": 283.7
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#392A87
secondary
#A4B35A
accent
#DC4CC5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #392A87

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

Preview Lab → · Contrast checker → · Palette generator →

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