#392AA2#392AA2

#392AA2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.182 H 279.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#392AA2
RGBrgb(57, 42, 162)
HSLhsl(248, 59%, 40%)
HSVhsv(248, 74%, 64%)
CMYKcmyk(64.8%, 74.1%, 0%, 36.5%)
CIE-LABlab(27.11, 42.36, -62.27)
CIE-LCHlch(27.11, 75.31, 304.23°)
OKLaboklab(39.01% 0.0298 -0.1797)
OKLCHoklch(39.01% 0.182 279.4)
XYZxyz(9.0348, 5.1337, 34.6902)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392AA2 #93A22A
analogous
#2A57A2 #392AA2 #752AA2
triadic
#392AA2 #A2392A #2AA239
tetradic
#392AA2 #A22A57 #93A22A #2AA275
square
#392AA2 #A22A57 #93A22A #2AA275
split-complementary
#392AA2 #A2752A #57A22A
monochromatic
#171141 #281D71 #392AA2 #4F3DCD #7B6DD9

Accessibility & contrast

On white

10.36
#392AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#392AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392AA2
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392AA2#FFFFFF#000000##FFFFFF
##392AA21.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #392aa2;
/* rgb */ color: rgb(57, 42, 162);
/* oklch */ color: oklch(39.0% 0.182 279.4);
Tailwind
colors: {
  custom: {
    50: '#7d66bf',
    500: '#392aa2',
    950: '#000000',
  },
}
SCSS
$custom: #392aa2;
$custom-light: #7d66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#392aa2",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 247.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.39007,
    "c": 0.18217,
    "h": 279.4
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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