#392AB8#392AB8

#392AB8 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.209 H 276.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#392AB8
RGBrgb(57, 42, 184)
HSLhsl(246, 63%, 44%)
HSVhsv(246, 77%, 72%)
CMYKcmyk(69%, 77.2%, 0%, 27.8%)
CIE-LABlab(29.38, 49.28, -71.73)
CIE-LCHlch(29.38, 87.03, 304.49°)
OKLaboklab(41.28% 0.0247 -0.2073)
OKLCHoklch(41.28% 0.209 276.8)
XYZxyz(11.1642, 5.9855, 45.9051)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392AB8 #A9B82A
analogous
#2A62B8 #392AB8 #802AB8
triadic
#392AB8 #B8392A #2AB839
tetradic
#392AB8 #B82A62 #A9B82A #2AB880
square
#392AB8 #B82A62 #A9B82A #2AB880
split-complementary
#392AB8 #B8802A #62B82A
monochromatic
#1A1354 #2A1F86 #392AB8 #584AD6 #867BE1

Accessibility & contrast

On white

9.56
#392AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#392AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392AB8
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392AB8#FFFFFF#000000##FFFFFF
##392AB81.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003FB5
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #392ab8;
/* rgb */ color: rgb(57, 42, 184);
/* oklch */ color: oklch(41.3% 0.209 276.8);
Tailwind
colors: {
  custom: {
    50: '#8267cf',
    500: '#392ab8',
    950: '#000000',
  },
}
SCSS
$custom: #392ab8;
$custom-light: #8267cf;
$custom-dark: #000000;
JSON
{
  "hex": "#392ab8",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 246.338,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41278,
    "c": 0.20878,
    "h": 276.8
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#392AB8
secondary
#C0C975
accent
#E642D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #392AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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