#392AA5#392AA5

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

Color values

HEX#392AA5
RGBrgb(57, 42, 165)
HSLhsl(247, 59%, 41%)
HSVhsv(247, 75%, 65%)
CMYKcmyk(65.5%, 74.5%, 0%, 35.3%)
CIE-LABlab(27.41, 43.32, -63.59)
CIE-LCHlch(27.41, 76.94, 304.26°)
OKLaboklab(39.31% 0.0292 -0.1836)
OKLCHoklch(39.31% 0.186 279)
XYZxyz(9.3047, 5.2416, 36.1114)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392AA5 #96A52A
analogous
#2A58A5 #392AA5 #762AA5
triadic
#392AA5 #A5392A #2AA539
tetradic
#392AA5 #A52A58 #96A52A #2AA576
square
#392AA5 #A52A58 #96A52A #2AA576
split-complementary
#392AA5 #A5762A #58A52A
monochromatic
#171143 #281E74 #392AA5 #503ECE #7C6FDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##392AA5#FFFFFF#000000##FFFFFF
##392AA51.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)
#0045A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #392aa5;
/* rgb */ color: rgb(57, 42, 165);
/* oklch */ color: oklch(39.3% 0.186 279.0);
Tailwind
colors: {
  custom: {
    50: '#7e66c1',
    500: '#392aa5',
    950: '#000000',
  },
}
SCSS
$custom: #392aa5;
$custom-light: #7e66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#392aa5",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 247.317,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3931,
    "c": 0.18588,
    "h": 279
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#392AA5
secondary
#B7C169
accent
#E345CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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