#392BA3#392BA3

#392BA3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.182 H 279.1°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#392BA3
RGBrgb(57, 43, 163)
HSLhsl(247, 58%, 40%)
HSVhsv(247, 74%, 64%)
CMYKcmyk(65%, 73.6%, 0%, 36.1%)
CIE-LABlab(27.41, 42.12, -62.38)
CIE-LCHlch(27.41, 75.27, 304.03°)
OKLaboklab(39.25% 0.0289 -0.18)
OKLCHoklch(39.25% 0.182 279.1)
XYZxyz(9.1600, 5.2412, 35.1722)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392BA3 #95A32B
analogous
#2B59A3 #392BA3 #752BA3
triadic
#392BA3 #A3392B #2BA339
tetradic
#392BA3 #A32B59 #95A32B #2BA375
square
#392BA3 #A32B59 #95A32B #2BA375
split-complementary
#392BA3 #A3752B #59A32B
monochromatic
#171142 #281E73 #392BA3 #4F3FCC #7C6FD9

Accessibility & contrast

On white

10.25
#392BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#392BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392BA3
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392BA3#FFFFFF#000000##FFFFFF
##392BA31.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #392ba3;
/* rgb */ color: rgb(57, 43, 163);
/* oklch */ color: oklch(39.2% 0.182 279.1);
Tailwind
colors: {
  custom: {
    50: '#7d66bf',
    500: '#392ba3',
    950: '#000000',
  },
}
SCSS
$custom: #392ba3;
$custom-light: #7d66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#392ba3",
  "rgb": {
    "r": 57,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 247,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39249,
    "c": 0.18236,
    "h": 279.1
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#392BA3
secondary
#B6C06A
accent
#E146CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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