#392EA2#392EA2

#392EA2 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.178 H 278.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#392EA2
RGBrgb(57, 46, 162)
HSLhsl(246, 56%, 41%)
HSVhsv(246, 72%, 64%)
CMYKcmyk(64.8%, 71.6%, 0%, 36.5%)
CIE-LABlab(27.93, 40.08, -60.92)
CIE-LCHlch(27.93, 72.92, 303.34°)
OKLaboklab(39.59% 0.027 -0.1758)
OKLCHoklch(39.59% 0.178 278.7)
XYZxyz(9.1838, 5.4317, 34.7399)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392EA2 #97A22E
analogous
#2E5DA2 #392EA2 #732EA2
triadic
#392EA2 #A2392E #2EA239
tetradic
#392EA2 #A22E5D #97A22E #2EA273
square
#392EA2 #A22E5D #97A22E #2EA273
split-complementary
#392EA2 #A2732E #5DA22E
monochromatic
#171343 #282072 #392EA2 #5043CA #7D73D7

Accessibility & contrast

On white

10.07
#392EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392EA2
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392EA2#FFFFFF#000000##FFFFFF
##392EA21.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #392ea2;
/* rgb */ color: rgb(57, 46, 162);
/* oklch */ color: oklch(39.6% 0.178 278.7);
Tailwind
colors: {
  custom: {
    50: '#7d68bf',
    500: '#392ea2',
    950: '#000000',
  },
}
SCSS
$custom: #392ea2;
$custom-light: #7d68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#392ea2",
  "rgb": {
    "r": 57,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 245.69,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39589,
    "c": 0.17786,
    "h": 278.7
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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