#392699#392699

#392699 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.175 H 281.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#392699
RGBrgb(57, 38, 153)
HSLhsl(250, 60%, 37%)
HSVhsv(250, 75%, 60%)
CMYKcmyk(62.7%, 75.2%, 0%, 40%)
CIE-LABlab(25.43, 41.72, -59.55)
CIE-LCHlch(25.43, 72.71, 305.01°)
OKLaboklab(37.54% 0.0346 -0.1718)
OKLCHoklch(37.54% 0.175 281.4)
XYZxyz(8.1284, 4.5554, 30.5818)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392699 #869926
analogous
#264D99 #392699 #722699
triadic
#392699 #993926 #269939
tetradic
#392699 #99264D #869926 #269972
square
#392699 #99264D #869926 #269972
split-complementary
#392699 #997226 #4D9926
monochromatic
#140E37 #271A68 #392699 #4B32CA #7562D8

Accessibility & contrast

On white

10.99
#392699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#392699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392699
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392699#FFFFFF#000000##FFFFFF
##3926991.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #392699;
/* rgb */ color: rgb(57, 38, 153);
/* oklch */ color: oklch(37.5% 0.175 281.4);
Tailwind
colors: {
  custom: {
    50: '#7c63b8',
    500: '#392699',
    950: '#000000',
  },
}
SCSS
$custom: #392699;
$custom-light: #7c63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#392699",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 249.913,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37544,
    "c": 0.1752,
    "h": 281.4
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#392699
secondary
#ADBD5E
accent
#E344C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #392699

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

Preview Lab → · Contrast checker → · Palette generator →

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