#392899#392899

#392899 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.173 H 281.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#392899
RGBrgb(57, 40, 153)
HSLhsl(249, 59%, 38%)
HSVhsv(249, 74%, 60%)
CMYKcmyk(62.7%, 73.9%, 0%, 40%)
CIE-LABlab(25.82, 40.61, -58.90)
CIE-LCHlch(25.82, 71.54, 304.58°)
OKLaboklab(37.82% 0.0332 -0.1699)
OKLCHoklch(37.82% 0.173 281)
XYZxyz(8.1941, 4.6867, 30.6036)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392899 #889928
analogous
#284F99 #392899 #722899
triadic
#392899 #993928 #289939
tetradic
#392899 #99284F #889928 #289972
square
#392899 #99284F #889928 #289972
split-complementary
#392899 #997228 #4F9928
monochromatic
#150F38 #271B68 #392899 #4B35CA #7665D7

Accessibility & contrast

On white

10.84
#392899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#392899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392899
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392899#FFFFFF#000000##FFFFFF
##3928991.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #392899;
/* rgb */ color: rgb(57, 40, 153);
/* oklch */ color: oklch(37.8% 0.173 281.0);
Tailwind
colors: {
  custom: {
    50: '#7c64b8',
    500: '#392899',
    950: '#000000',
  },
}
SCSS
$custom: #392899;
$custom-light: #7c64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#392899",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 249.027,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37823,
    "c": 0.17308,
    "h": 281
  },
  "luminance": 0.04687
}

Semantic roles & 50–950 ramp

primary
#392899
secondary
#AFBD60
accent
#E246CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #392899

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

Preview Lab → · Contrast checker → · Palette generator →

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