#392991#392991

#392991 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.162 H 282.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#392991
RGBrgb(57, 41, 145)
HSLhsl(249, 56%, 36%)
HSVhsv(249, 72%, 57%)
CMYKcmyk(60.7%, 71.7%, 0%, 43.1%)
CIE-LABlab(25.26, 37.47, -54.90)
CIE-LCHlch(25.26, 66.47, 304.31°)
OKLaboklab(37.19% 0.034 -0.1582)
OKLCHoklch(37.19% 0.162 282.1)
XYZxyz(7.5895, 4.4996, 27.2511)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392991 #819129
analogous
#294D91 #392991 #6D2991
triadic
#392991 #913929 #299139
tetradic
#392991 #91294D #819129 #29916D
square
#392991 #91294D #819129 #29916D
split-complementary
#392991 #916D29 #4D9129
monochromatic
#130E32 #261C61 #392991 #4C36C1 #7362D3

Accessibility & contrast

On white

11.05
#392991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#392991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##392991#FFFFFF#000000##FFFFFF
##3929911.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)
#003F94
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #392991;
/* rgb */ color: rgb(57, 41, 145);
/* oklch */ color: oklch(37.2% 0.162 282.1);
Tailwind
colors: {
  custom: {
    50: '#7a64b2',
    500: '#392991',
    950: '#000000',
  },
}
SCSS
$custom: #392991;
$custom-light: #7a64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#392991",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 249.231,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37187,
    "c": 0.16179,
    "h": 282.1
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#392991
secondary
#AAB85D
accent
#DF49C8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #392991

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

Preview Lab → · Contrast checker → · Palette generator →

#392991 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva