#392FA4#392FA4

#392FA4 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.179 H 278.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#392FA4
RGBrgb(57, 47, 164)
HSLhsl(245, 55%, 41%)
HSVhsv(245, 71%, 64%)
CMYKcmyk(65.2%, 71.3%, 0%, 35.7%)
CIE-LABlab(28.33, 40.15, -61.47)
CIE-LCHlch(28.33, 73.42, 303.15°)
OKLaboklab(39.93% 0.026 -0.1774)
OKLCHoklch(39.93% 0.179 278.3)
XYZxyz(9.4025, 5.5825, 35.6968)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392FA4 #9AA42F
analogous
#2F60A4 #392FA4 #742FA4
triadic
#392FA4 #A4392F #2FA439
tetradic
#392FA4 #A42F60 #9AA42F #2FA474
square
#392FA4 #A42F60 #9AA42F #2FA474
split-complementary
#392FA4 #A4742F #60A42F
monochromatic
#181445 #282174 #392FA4 #5146CA #7E76D8

Accessibility & contrast

On white

9.92
#392FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#392FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392FA4
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392FA4#FFFFFF#000000##FFFFFF
##392FA41.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #392fa4;
/* rgb */ color: rgb(57, 47, 164);
/* oklch */ color: oklch(39.9% 0.179 278.3);
Tailwind
colors: {
  custom: {
    50: '#7d69c0',
    500: '#392fa4',
    950: '#000000',
  },
}
SCSS
$custom: #392fa4;
$custom-light: #7d69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#392fa4",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 245.128,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39935,
    "c": 0.1793,
    "h": 278.3
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#392FA4
secondary
#B9C06F
accent
#DF49D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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