#392BA5#392BA5

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

Color values

HEX#392BA5
RGBrgb(57, 43, 165)
HSLhsl(247, 59%, 41%)
HSVhsv(247, 74%, 65%)
CMYKcmyk(65.5%, 73.9%, 0%, 35.3%)
CIE-LABlab(27.61, 42.76, -63.26)
CIE-LCHlch(27.61, 76.36, 304.06°)
OKLaboklab(39.45% 0.0285 -0.1826)
OKLCHoklch(39.45% 0.185 278.9)
XYZxyz(9.3406, 5.3135, 36.1234)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392BA5 #97A52B
analogous
#2B5AA5 #392BA5 #762BA5
triadic
#392BA5 #A5392B #2BA539
tetradic
#392BA5 #A52B5A #97A52B #2BA576
square
#392BA5 #A52B5A #97A52B #2BA576
split-complementary
#392BA5 #A5762B #5AA52B
monochromatic
#171244 #281E74 #392BA5 #5040CD #7D71DA

Accessibility & contrast

On white

10.18
#392BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392BA5
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392BA5#FFFFFF#000000##FFFFFF
##392BA51.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392ba5;
/* rgb */ color: rgb(57, 43, 165);
/* oklch */ color: oklch(39.5% 0.185 278.9);
Tailwind
colors: {
  custom: {
    50: '#7e66c1',
    500: '#392ba5',
    950: '#000000',
  },
}
SCSS
$custom: #392ba5;
$custom-light: #7e66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#392ba5",
  "rgb": {
    "r": 57,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 246.885,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.3945,
    "c": 0.18485,
    "h": 278.9
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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