#392AA1#392AA1

#392AA1 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.181 H 279.6°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#392AA1
RGBrgb(57, 42, 161)
HSLhsl(248, 59%, 40%)
HSVhsv(248, 74%, 63%)
CMYKcmyk(64.6%, 73.9%, 0%, 36.9%)
CIE-LABlab(27.01, 42.04, -61.82)
CIE-LCHlch(27.01, 74.76, 304.22°)
OKLaboklab(38.91% 0.03 -0.1784)
OKLCHoklch(38.91% 0.181 279.6)
XYZxyz(8.9463, 5.0983, 34.2239)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392AA1 #92A12A
analogous
#2A57A1 #392AA1 #752AA1
triadic
#392AA1 #A1392A #2AA139
tetradic
#392AA1 #A12A57 #92A12A #2AA175
square
#392AA1 #A12A57 #92A12A #2AA175
split-complementary
#392AA1 #A1752A #57A12A
monochromatic
#171140 #281D70 #392AA1 #4E3CCC #7A6DD9

Accessibility & contrast

On white

10.40
#392AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#392AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392AA1
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392AA1#FFFFFF#000000##FFFFFF
##392AA11.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #392aa1;
/* rgb */ color: rgb(57, 42, 161);
/* oklch */ color: oklch(38.9% 0.181 279.6);
Tailwind
colors: {
  custom: {
    50: '#7d66be',
    500: '#392aa1',
    950: '#000000',
  },
}
SCSS
$custom: #392aa1;
$custom-light: #7d66be;
$custom-dark: #000000;
JSON
{
  "hex": "#392aa1",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 247.563,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38906,
    "c": 0.18093,
    "h": 279.6
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#392AA1
secondary
#B4C067
accent
#E246CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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