#392BA4#392BA4

#392BA4 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.184 H 279.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#392BA4
RGBrgb(57, 43, 164)
HSLhsl(247, 58%, 41%)
HSVhsv(247, 74%, 64%)
CMYKcmyk(65.2%, 73.8%, 0%, 35.7%)
CIE-LABlab(27.51, 42.44, -62.82)
CIE-LCHlch(27.51, 75.82, 304.04°)
OKLaboklab(39.35% 0.0287 -0.1813)
OKLCHoklch(39.35% 0.184 279)
XYZxyz(9.2499, 5.2772, 35.6459)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392BA4 #96A42B
analogous
#2B59A4 #392BA4 #752BA4
triadic
#392BA4 #A4392B #2BA439
tetradic
#392BA4 #A42B59 #96A42B #2BA475
square
#392BA4 #A42B59 #96A42B #2BA475
split-complementary
#392BA4 #A4752B #59A42B
monochromatic
#171243 #281E74 #392BA4 #503FCD #7C70D9

Accessibility & contrast

On white

10.22
#392BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#392BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392BA4
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392BA4#FFFFFF#000000##FFFFFF
##392BA41.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003CA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #392ba4;
/* rgb */ color: rgb(57, 43, 164);
/* oklch */ color: oklch(39.3% 0.184 279.0);
Tailwind
colors: {
  custom: {
    50: '#7e66c0',
    500: '#392ba4',
    950: '#000000',
  },
}
SCSS
$custom: #392ba4;
$custom-light: #7e66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#392ba4",
  "rgb": {
    "r": 57,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 246.942,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39349,
    "c": 0.18361,
    "h": 279
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

primary
#392BA4
secondary
#B7C16A
accent
#E246D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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