#392CA1#392CA1

#392CA1 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.179 H 279.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#392CA1
RGBrgb(57, 44, 161)
HSLhsl(247, 57%, 40%)
HSVhsv(247, 73%, 63%)
CMYKcmyk(64.6%, 72.7%, 0%, 36.9%)
CIE-LABlab(27.42, 40.91, -61.16)
CIE-LCHlch(27.42, 73.58, 303.78°)
OKLaboklab(39.19% 0.0286 -0.1765)
OKLCHoklch(39.19% 0.179 279.2)
XYZxyz(9.0190, 5.2437, 34.2482)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392CA1 #94A12C
analogous
#2C59A1 #392CA1 #742CA1
triadic
#392CA1 #A1392C #2CA139
tetradic
#392CA1 #A12C59 #94A12C #2CA174
square
#392CA1 #A12C59 #94A12C #2CA174
split-complementary
#392CA1 #A1742C #59A12C
monochromatic
#171241 #281F71 #392CA1 #4F40CB #7B70D8

Accessibility & contrast

On white

10.25
#392CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#392CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392CA1
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392CA1#FFFFFF#000000##FFFFFF
##392CA11.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003C9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #392ca1;
/* rgb */ color: rgb(57, 44, 161);
/* oklch */ color: oklch(39.2% 0.179 279.2);
Tailwind
colors: {
  custom: {
    50: '#7d67be',
    500: '#392ca1',
    950: '#000000',
  },
}
SCSS
$custom: #392ca1;
$custom-light: #7d67be;
$custom-dark: #000000;
JSON
{
  "hex": "#392ca1",
  "rgb": {
    "r": 57,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 246.667,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39194,
    "c": 0.17879,
    "h": 279.2
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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