#392B98#392B98

#392B98 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.168 H 280.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#392B98
RGBrgb(57, 43, 152)
HSLhsl(248, 56%, 38%)
HSVhsv(248, 72%, 60%)
CMYKcmyk(62.5%, 71.7%, 0%, 40.4%)
CIE-LABlab(26.34, 38.57, -57.43)
CIE-LCHlch(26.34, 69.18, 303.88°)
OKLaboklab(38.17% 0.0311 -0.1656)
OKLCHoklch(38.17% 0.168 280.6)
XYZxyz(8.2169, 4.8640, 30.2055)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392B98 #8A982B
analogous
#2B5498 #392B98 #6F2B98
triadic
#392B98 #98392B #2B9839
tetradic
#392B98 #982B54 #8A982B #2B986F
square
#392B98 #982B54 #8A982B #2B986F
split-complementary
#392B98 #986F2B #54982B
monochromatic
#151039 #271E68 #392B98 #4B39C7 #7769D5

Accessibility & contrast

On white

10.64
#392B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#392B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392B98
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392B98#FFFFFF#000000##FFFFFF
##392B981.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #392b98;
/* rgb */ color: rgb(57, 43, 152);
/* oklch */ color: oklch(38.2% 0.168 280.6);
Tailwind
colors: {
  custom: {
    50: '#7b66b7',
    500: '#392b98',
    950: '#000000',
  },
}
SCSS
$custom: #392b98;
$custom-light: #7b66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392b98",
  "rgb": {
    "r": 57,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 247.706,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.16848,
    "h": 280.6
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#392B98
secondary
#B0BB64
accent
#DF49CC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #392B98

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

Preview Lab → · Contrast checker → · Palette generator →

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