#392CAB#392CAB

#392CAB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.191 H 278.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#392CAB
RGBrgb(57, 44, 171)
HSLhsl(246, 59%, 42%)
HSVhsv(246, 74%, 67%)
CMYKcmyk(66.7%, 74.3%, 0%, 32.9%)
CIE-LABlab(28.41, 44.13, -65.57)
CIE-LCHlch(28.41, 79.03, 303.94°)
OKLaboklab(40.2% 0.0266 -0.1894)
OKLCHoklch(40.2% 0.191 278)
XYZxyz(9.9363, 5.6107, 39.0795)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392CAB #9EAB2C
analogous
#2C5EAB #392CAB #792CAB
triadic
#392CAB #AB392C #2CAB39
tetradic
#392CAB #AB2C5E #9EAB2C #2CAB79
square
#392CAB #AB2C5E #9EAB2C #2CAB79
split-complementary
#392CAB #AB792C #5EAB2C
monochromatic
#19134A #291F7A #392CAB #5345CF #8076DC

Accessibility & contrast

On white

9.90
#392CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#392CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392CAB
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392CAB#FFFFFF#000000##FFFFFF
##392CAB1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392cab;
/* rgb */ color: rgb(57, 44, 171);
/* oklch */ color: oklch(40.2% 0.191 278.0);
Tailwind
colors: {
  custom: {
    50: '#7f67c5',
    500: '#392cab',
    950: '#000000',
  },
}
SCSS
$custom: #392cab;
$custom-light: #7f67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#392cab",
  "rgb": {
    "r": 57,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 246.142,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40196,
    "c": 0.19122,
    "h": 278
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#392CAB
secondary
#BBC36F
accent
#E246D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #392CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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