#392FA5#392FA5

#392FA5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.181 H 278.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#392FA5
RGBrgb(57, 47, 165)
HSLhsl(245, 56%, 42%)
HSVhsv(245, 72%, 65%)
CMYKcmyk(65.5%, 71.5%, 0%, 35.3%)
CIE-LABlab(28.43, 40.48, -61.92)
CIE-LCHlch(28.43, 73.98, 303.18°)
OKLaboklab(40.03% 0.0258 -0.1787)
OKLCHoklch(40.03% 0.181 278.2)
XYZxyz(9.4932, 5.6187, 36.1743)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392FA5 #9BA52F
analogous
#2F60A5 #392FA5 #742FA5
triadic
#392FA5 #A5392F #2FA539
tetradic
#392FA5 #A52F60 #9BA52F #2FA574
square
#392FA5 #A52F60 #9BA52F #2FA574
split-complementary
#392FA5 #A5742F #60A52F
monochromatic
#181446 #292175 #392FA5 #5247CB #7F76D8

Accessibility & contrast

On white

9.89
#392FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392FA5
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392FA5#FFFFFF#000000##FFFFFF
##392FA51.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #392fa5;
/* rgb */ color: rgb(57, 47, 165);
/* oklch */ color: oklch(40.0% 0.181 278.2);
Tailwind
colors: {
  custom: {
    50: '#7e69c1',
    500: '#392fa5',
    950: '#000000',
  },
}
SCSS
$custom: #392fa5;
$custom-light: #7e69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#392fa5",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 245.085,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40033,
    "c": 0.18056,
    "h": 278.2
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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