#392EA1#392EA1

#392EA1 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.177 H 278.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#392EA1
RGBrgb(57, 46, 161)
HSLhsl(246, 56%, 41%)
HSVhsv(246, 71%, 63%)
CMYKcmyk(64.6%, 71.4%, 0%, 36.9%)
CIE-LABlab(27.84, 39.75, -60.47)
CIE-LCHlch(27.84, 72.37, 303.32°)
OKLaboklab(39.49% 0.0272 -0.1745)
OKLCHoklch(39.49% 0.177 278.9)
XYZxyz(9.0953, 5.3963, 34.2736)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392EA1 #96A12E
analogous
#2E5CA1 #392EA1 #722EA1
triadic
#392EA1 #A1392E #2EA139
tetradic
#392EA1 #A12E5C #96A12E #2EA172
square
#392EA1 #A12E5C #96A12E #2EA172
split-complementary
#392EA1 #A1722E #5CA12E
monochromatic
#171342 #282071 #392EA1 #5043C9 #7C73D7

Accessibility & contrast

On white

10.10
#392EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#392EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392EA1
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392EA1#FFFFFF#000000##FFFFFF
##392EA11.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #392ea1;
/* rgb */ color: rgb(57, 46, 161);
/* oklch */ color: oklch(39.5% 0.177 278.9);
Tailwind
colors: {
  custom: {
    50: '#7d68be',
    500: '#392ea1',
    950: '#000000',
  },
}
SCSS
$custom: #392ea1;
$custom-light: #7d68be;
$custom-dark: #000000;
JSON
{
  "hex": "#392ea1",
  "rgb": {
    "r": 57,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 245.739,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39492,
    "c": 0.17659,
    "h": 278.9
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#392EA1
secondary
#B7BE6C
accent
#DF49D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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