#392B97#392B97

#392B97 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.167 H 280.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#392B97
RGBrgb(57, 43, 151)
HSLhsl(248, 56%, 38%)
HSVhsv(248, 72%, 59%)
CMYKcmyk(62.3%, 71.5%, 0%, 40.8%)
CIE-LABlab(26.25, 38.24, -56.97)
CIE-LCHlch(26.25, 68.62, 303.87°)
OKLaboklab(38.07% 0.0313 -0.1642)
OKLCHoklch(38.07% 0.167 280.8)
XYZxyz(8.1354, 4.8314, 29.7760)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392B97 #89972B
analogous
#2B5397 #392B97 #6F2B97
triadic
#392B97 #97392B #2B9739
tetradic
#392B97 #972B53 #89972B #2B976F
square
#392B97 #972B53 #89972B #2B976F
split-complementary
#392B97 #976F2B #53972B
monochromatic
#151038 #271D67 #392B97 #4B39C7 #7668D4

Accessibility & contrast

On white

10.68
#392B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392B97
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392B97#FFFFFF#000000##FFFFFF
##392B971.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392b97;
/* rgb */ color: rgb(57, 43, 151);
/* oklch */ color: oklch(38.1% 0.167 280.8);
Tailwind
colors: {
  custom: {
    50: '#7b66b7',
    500: '#392b97',
    950: '#000000',
  },
}
SCSS
$custom: #392b97;
$custom-light: #7b66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392b97",
  "rgb": {
    "r": 57,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 247.778,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38068,
    "c": 0.16719,
    "h": 280.8
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392B97

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

Preview Lab → · Contrast checker → · Palette generator →

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