#392EAB#392EAB

#392EAB is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.189 H 277.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#392EAB
RGBrgb(57, 46, 171)
HSLhsl(245, 58%, 43%)
HSVhsv(245, 73%, 67%)
CMYKcmyk(66.7%, 73.1%, 0%, 32.9%)
CIE-LABlab(28.81, 43.01, -64.91)
CIE-LCHlch(28.81, 77.86, 303.53°)
OKLaboklab(40.48% 0.0253 -0.1874)
OKLCHoklch(40.48% 0.189 277.7)
XYZxyz(10.0126, 5.7633, 39.1050)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392EAB #A0AB2E
analogous
#2E61AB #392EAB #782EAB
triadic
#392EAB #AB392E #2EAB39
tetradic
#392EAB #AB2E61 #A0AB2E #2EAB78
square
#392EAB #AB2E61 #A0AB2E #2EAB78
split-complementary
#392EAB #AB782E #61AB2E
monochromatic
#19144B #29217B #392EAB #5448CE #8179DB

Accessibility & contrast

On white

9.75
#392EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#392EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392EAB
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392EAB#FFFFFF#000000##FFFFFF
##392EAB1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #392eab;
/* rgb */ color: rgb(57, 46, 171);
/* oklch */ color: oklch(40.5% 0.189 277.7);
Tailwind
colors: {
  custom: {
    50: '#7f69c5',
    500: '#392eab',
    950: '#000000',
  },
}
SCSS
$custom: #392eab;
$custom-light: #7f69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#392eab",
  "rgb": {
    "r": 57,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 245.28,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40479,
    "c": 0.18915,
    "h": 277.7
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#392EAB
secondary
#BCC372
accent
#E147D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #392EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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