#392EA3#392EA3

#392EA3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.179 H 278.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#392EA3
RGBrgb(57, 46, 163)
HSLhsl(246, 56%, 41%)
HSVhsv(246, 72%, 64%)
CMYKcmyk(65%, 71.8%, 0%, 36.1%)
CIE-LABlab(28.03, 40.41, -61.37)
CIE-LCHlch(28.03, 73.48, 303.36°)
OKLaboklab(39.69% 0.0268 -0.1771)
OKLCHoklch(39.69% 0.179 278.6)
XYZxyz(9.2731, 5.4674, 35.2099)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392EA3 #98A32E
analogous
#2E5DA3 #392EA3 #732EA3
triadic
#392EA3 #A3392E #2EA339
tetradic
#392EA3 #A32E5D #98A32E #2EA373
square
#392EA3 #A32E5D #98A32E #2EA373
split-complementary
#392EA3 #A3732E #5DA32E
monochromatic
#181344 #282173 #392EA3 #5144CA #7D74D8

Accessibility & contrast

On white

10.03
#392EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#392EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392EA3
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392EA3#FFFFFF#000000##FFFFFF
##392EA31.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #392ea3;
/* rgb */ color: rgb(57, 46, 163);
/* oklch */ color: oklch(39.7% 0.179 278.6);
Tailwind
colors: {
  custom: {
    50: '#7d68bf',
    500: '#392ea3',
    950: '#000000',
  },
}
SCSS
$custom: #392ea3;
$custom-light: #7d68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#392ea3",
  "rgb": {
    "r": 57,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 245.641,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39687,
    "c": 0.17913,
    "h": 278.6
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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