#392CA5#392CA5

#392CA5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.184 H 278.7°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#392CA5
RGBrgb(57, 44, 165)
HSLhsl(246, 58%, 41%)
HSVhsv(246, 73%, 65%)
CMYKcmyk(65.5%, 73.3%, 0%, 35.3%)
CIE-LABlab(27.81, 42.20, -62.93)
CIE-LCHlch(27.81, 75.77, 303.84°)
OKLaboklab(39.59% 0.0278 -0.1817)
OKLCHoklch(39.59% 0.184 278.7)
XYZxyz(9.3774, 5.3871, 36.1357)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392CA5 #98A52C
analogous
#2C5BA5 #392CA5 #752CA5
triadic
#392CA5 #A5392C #2CA539
tetradic
#392CA5 #A52C5B #98A52C #2CA575
square
#392CA5 #A52C5B #98A52C #2CA575
split-complementary
#392CA5 #A5752C #5BA52C
monochromatic
#181244 #281F75 #392CA5 #5142CD #7D72D9

Accessibility & contrast

On white

10.11
#392CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#392CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392CA5
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392CA5#FFFFFF#000000##FFFFFF
##392CA51.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #392ca5;
/* rgb */ color: rgb(57, 44, 165);
/* oklch */ color: oklch(39.6% 0.184 278.7);
Tailwind
colors: {
  custom: {
    50: '#7e67c1',
    500: '#392ca5',
    950: '#000000',
  },
}
SCSS
$custom: #392ca5;
$custom-light: #7e67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#392ca5",
  "rgb": {
    "r": 57,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 246.446,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39592,
    "c": 0.1838,
    "h": 278.7
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#392CA5
secondary
#B8C16C
accent
#E147D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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