#392EA4#392EA4

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

Color values

HEX#392EA4
RGBrgb(57, 46, 164)
HSLhsl(246, 56%, 41%)
HSVhsv(246, 72%, 64%)
CMYKcmyk(65.2%, 72%, 0%, 35.7%)
CIE-LABlab(28.12, 40.73, -61.82)
CIE-LCHlch(28.12, 74.03, 303.38°)
OKLaboklab(39.78% 0.0267 -0.1784)
OKLCHoklch(39.78% 0.18 278.5)
XYZxyz(9.3630, 5.5034, 35.6836)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392EA4 #99A42E
analogous
#2E5EA4 #392EA4 #742EA4
triadic
#392EA4 #A4392E #2EA439
tetradic
#392EA4 #A42E5E #99A42E #2EA474
square
#392EA4 #A42E5E #99A42E #2EA474
split-complementary
#392EA4 #A4742E #5EA42E
monochromatic
#181344 #282174 #392EA4 #5145CB #7E74D8

Accessibility & contrast

On white

10.00
#392EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#392EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392EA4
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392EA4#FFFFFF#000000##FFFFFF
##392EA41.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392ea4;
/* rgb */ color: rgb(57, 46, 164);
/* oklch */ color: oklch(39.8% 0.180 278.5);
Tailwind
colors: {
  custom: {
    50: '#7d68c0',
    500: '#392ea4',
    950: '#000000',
  },
}
SCSS
$custom: #392ea4;
$custom-light: #7d68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#392ea4",
  "rgb": {
    "r": 57,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 245.593,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39785,
    "c": 0.18039,
    "h": 278.5
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#392EA4
secondary
#B8C06E
accent
#DF48D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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