#392FA6#392FA6

#392FA6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.182 H 278.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#392FA6
RGBrgb(57, 47, 166)
HSLhsl(245, 56%, 42%)
HSVhsv(245, 72%, 65%)
CMYKcmyk(65.7%, 71.7%, 0%, 34.9%)
CIE-LABlab(28.53, 40.81, -62.36)
CIE-LCHlch(28.53, 74.53, 303.20°)
OKLaboklab(40.13% 0.0256 -0.18)
OKLCHoklch(40.13% 0.182 278.1)
XYZxyz(9.5846, 5.6553, 36.6555)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392FA6 #9CA62F
analogous
#2F61A6 #392FA6 #752FA6
triadic
#392FA6 #A6392F #2FA639
tetradic
#392FA6 #A62F61 #9CA62F #2FA675
square
#392FA6 #A62F61 #9CA62F #2FA675
split-complementary
#392FA6 #A6752F #61A62F
monochromatic
#181447 #292176 #392FA6 #5247CB #7F77D8

Accessibility & contrast

On white

9.85
#392FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#392FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392FA6
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392FA6#FFFFFF#000000##FFFFFF
##392FA61.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #392fa6;
/* rgb */ color: rgb(57, 47, 166);
/* oklch */ color: oklch(40.1% 0.182 278.1);
Tailwind
colors: {
  custom: {
    50: '#7e69c2',
    500: '#392fa6',
    950: '#000000',
  },
}
SCSS
$custom: #392fa6;
$custom-light: #7e69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#392fa6",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 245.042,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40131,
    "c": 0.18183,
    "h": 278.1
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#392FA6
secondary
#BAC170
accent
#DF49D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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