#392CA2#392CA2

#392CA2 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.180 H 279.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#392CA2
RGBrgb(57, 44, 162)
HSLhsl(247, 57%, 40%)
HSVhsv(247, 73%, 64%)
CMYKcmyk(64.8%, 72.8%, 0%, 36.5%)
CIE-LABlab(27.52, 41.23, -61.60)
CIE-LCHlch(27.52, 74.13, 303.80°)
OKLaboklab(39.29% 0.0284 -0.1778)
OKLCHoklch(39.29% 0.18 279.1)
XYZxyz(9.1075, 5.2791, 34.7144)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392CA2 #95A22C
analogous
#2C5AA2 #392CA2 #742CA2
triadic
#392CA2 #A2392C #2CA239
tetradic
#392CA2 #A22C5A #95A22C #2CA274
square
#392CA2 #A22C5A #95A22C #2CA274
split-complementary
#392CA2 #A2742C #5AA22C
monochromatic
#171242 #281F72 #392CA2 #4F40CB #7C70D8

Accessibility & contrast

On white

10.21
#392CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#392CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392CA2
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392CA2#FFFFFF#000000##FFFFFF
##392CA21.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #392ca2;
/* rgb */ color: rgb(57, 44, 162);
/* oklch */ color: oklch(39.3% 0.180 279.1);
Tailwind
colors: {
  custom: {
    50: '#7d67bf',
    500: '#392ca2',
    950: '#000000',
  },
}
SCSS
$custom: #392ca2;
$custom-light: #7d67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#392ca2",
  "rgb": {
    "r": 57,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 246.61,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39293,
    "c": 0.18005,
    "h": 279.1
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#392CA2
secondary
#B6BF6A
accent
#E147D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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