#392CA3#392CA3

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

Color values

HEX#392CA3
RGBrgb(57, 44, 163)
HSLhsl(247, 57%, 41%)
HSVhsv(247, 73%, 64%)
CMYKcmyk(65%, 73%, 0%, 36.1%)
CIE-LABlab(27.61, 41.56, -62.05)
CIE-LCHlch(27.61, 74.68, 303.81°)
OKLaboklab(39.39% 0.0282 -0.1791)
OKLCHoklch(39.39% 0.181 279)
XYZxyz(9.1968, 5.3148, 35.1844)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392CA3 #96A32C
analogous
#2C5AA3 #392CA3 #752CA3
triadic
#392CA3 #A3392C #2CA339
tetradic
#392CA3 #A32C5A #96A32C #2CA375
square
#392CA3 #A32C5A #96A32C #2CA375
split-complementary
#392CA3 #A3752C #5AA32C
monochromatic
#171243 #281F73 #392CA3 #5041CC #7C71D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##392CA3#FFFFFF#000000##FFFFFF
##392CA31.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)
#0046A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #392ca3;
/* rgb */ color: rgb(57, 44, 163);
/* oklch */ color: oklch(39.4% 0.181 279.0);
Tailwind
colors: {
  custom: {
    50: '#7d67bf',
    500: '#392ca3',
    950: '#000000',
  },
}
SCSS
$custom: #392ca3;
$custom-light: #7d67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#392ca3",
  "rgb": {
    "r": 57,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 246.555,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.1813,
    "h": 279
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#392CA3
secondary
#B7C06B
accent
#E147D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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