#392996#392996

#392996 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.168 H 281.3°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#392996
RGBrgb(57, 41, 150)
HSLhsl(249, 57%, 37%)
HSVhsv(249, 73%, 59%)
CMYKcmyk(62%, 72.7%, 0%, 41.2%)
CIE-LABlab(25.73, 39.08, -57.20)
CIE-LCHlch(25.73, 69.28, 304.34°)
OKLaboklab(37.67% 0.0331 -0.1649)
OKLCHoklch(37.67% 0.168 281.3)
XYZxyz(7.9836, 4.6572, 29.3265)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392996 #869629
analogous
#295096 #392996 #6F2996
triadic
#392996 #963929 #299639
tetradic
#392996 #962950 #869629 #29966F
square
#392996 #962950 #869629 #29966F
split-complementary
#392996 #966F29 #509629
monochromatic
#140F36 #271C66 #392996 #4B36C6 #7565D5

Accessibility & contrast

On white

10.87
#392996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#392996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392996
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392996#FFFFFF#000000##FFFFFF
##3929961.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #392996;
/* rgb */ color: rgb(57, 41, 150);
/* oklch */ color: oklch(37.7% 0.168 281.3);
Tailwind
colors: {
  custom: {
    50: '#7b65b6',
    500: '#392996',
    950: '#000000',
  },
}
SCSS
$custom: #392996;
$custom-light: #7b65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#392996",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 248.807,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37672,
    "c": 0.16819,
    "h": 281.3
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#392996
secondary
#ADBB60
accent
#E047CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #392996

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

Preview Lab → · Contrast checker → · Palette generator →

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