#392FA3#392FA3

#392FA3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.178 H 278.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#392FA3
RGBrgb(57, 47, 163)
HSLhsl(245, 55%, 41%)
HSVhsv(245, 71%, 64%)
CMYKcmyk(65%, 71.2%, 0%, 36.1%)
CIE-LABlab(28.24, 39.82, -61.02)
CIE-LCHlch(28.24, 72.87, 303.13°)
OKLaboklab(39.84% 0.0261 -0.1761)
OKLCHoklch(39.84% 0.178 278.4)
XYZxyz(9.3126, 5.5465, 35.2231)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392FA3 #99A32F
analogous
#2F5FA3 #392FA3 #732FA3
triadic
#392FA3 #A3392F #2FA339
tetradic
#392FA3 #A32F5F #99A32F #2FA373
square
#392FA3 #A32F5F #99A32F #2FA373
split-complementary
#392FA3 #A3732F #5FA32F
monochromatic
#181444 #282173 #392FA3 #5146CA #7E75D7

Accessibility & contrast

On white

9.96
#392FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#392FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392FA3
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392FA3#FFFFFF#000000##FFFFFF
##392FA31.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #392fa3;
/* rgb */ color: rgb(57, 47, 163);
/* oklch */ color: oklch(39.8% 0.178 278.4);
Tailwind
colors: {
  custom: {
    50: '#7d69bf',
    500: '#392fa3',
    950: '#000000',
  },
}
SCSS
$custom: #392fa3;
$custom-light: #7d69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#392fa3",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 245.172,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39838,
    "c": 0.17803,
    "h": 278.4
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#392FA3
secondary
#B8BF6F
accent
#DF49D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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