#392BAB#392BAB

#392BAB is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.1% C 0.192 H 278.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#392BAB
RGBrgb(57, 43, 171)
HSLhsl(247, 60%, 42%)
HSVhsv(247, 75%, 67%)
CMYKcmyk(66.7%, 74.9%, 0%, 32.9%)
CIE-LABlab(28.21, 44.68, -65.89)
CIE-LCHlch(28.21, 79.61, 304.14°)
OKLaboklab(40.06% 0.0272 -0.1903)
OKLCHoklch(40.06% 0.192 278.1)
XYZxyz(9.8995, 5.5370, 39.0672)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392BAB #9DAB2B
analogous
#2B5DAB #392BAB #792BAB
triadic
#392BAB #AB392B #2BAB39
tetradic
#392BAB #AB2B5D #9DAB2B #2BAB79
square
#392BAB #AB2B5D #9DAB2B #2BAB79
split-complementary
#392BAB #AB792B #5DAB2B
monochromatic
#181249 #291F7A #392BAB #5343D0 #8074DC

Accessibility & contrast

On white

9.96
#392BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#392BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392BAB
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392BAB#FFFFFF#000000##FFFFFF
##392BAB1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #392bab;
/* rgb */ color: rgb(57, 43, 171);
/* oklch */ color: oklch(40.1% 0.192 278.1);
Tailwind
colors: {
  custom: {
    50: '#7f67c5',
    500: '#392bab',
    950: '#000000',
  },
}
SCSS
$custom: #392bab;
$custom-light: #7f67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#392bab",
  "rgb": {
    "r": 57,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 246.563,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40058,
    "c": 0.19222,
    "h": 278.1
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#392BAB
secondary
#BAC46E
accent
#E345D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #392BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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