#392DA1#392DA1

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

Color values

HEX#392DA1
RGBrgb(57, 45, 161)
HSLhsl(246, 56%, 40%)
HSVhsv(246, 72%, 63%)
CMYKcmyk(64.6%, 72%, 0%, 36.9%)
CIE-LABlab(27.63, 40.33, -60.82)
CIE-LCHlch(27.63, 72.98, 303.55°)
OKLaboklab(39.34% 0.0279 -0.1755)
OKLCHoklch(39.34% 0.178 279)
XYZxyz(9.0567, 5.3191, 34.2607)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392DA1 #95A12D
analogous
#2D5BA1 #392DA1 #732DA1
triadic
#392DA1 #A1392D #2DA139
tetradic
#392DA1 #A12D5B #95A12D #2DA173
square
#392DA1 #A12D5B #95A12D #2DA173
split-complementary
#392DA1 #A1732D #5BA12D
monochromatic
#171241 #282071 #392DA1 #4F41CA #7C71D7

Accessibility & contrast

On white

10.17
#392DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392DA1
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392DA1#FFFFFF#000000##FFFFFF
##392DA11.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #392da1;
/* rgb */ color: rgb(57, 45, 161);
/* oklch */ color: oklch(39.3% 0.178 279.0);
Tailwind
colors: {
  custom: {
    50: '#7d68be',
    500: '#392da1',
    950: '#000000',
  },
}
SCSS
$custom: #392da1;
$custom-light: #7d68be;
$custom-dark: #000000;
JSON
{
  "hex": "#392da1",
  "rgb": {
    "r": 57,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 246.207,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39342,
    "c": 0.1777,
    "h": 279
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#392DA1
secondary
#B6BF6B
accent
#E048D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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