#392CA7#392CA7

#392CA7 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.186 H 278.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#392CA7
RGBrgb(57, 44, 167)
HSLhsl(246, 58%, 41%)
HSVhsv(246, 74%, 65%)
CMYKcmyk(65.9%, 73.7%, 0%, 34.5%)
CIE-LABlab(28.01, 42.84, -63.82)
CIE-LCHlch(28.01, 76.86, 303.88°)
OKLaboklab(39.79% 0.0274 -0.1842)
OKLCHoklch(39.79% 0.186 278.5)
XYZxyz(9.5608, 5.4605, 37.1019)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392CA7 #9AA72C
analogous
#2C5DA7 #392CA7 #772CA7
triadic
#392CA7 #A7392C #2CA739
tetradic
#392CA7 #A72C5D #9AA72C #2CA777
square
#392CA7 #A72C5D #9AA72C #2CA777
split-complementary
#392CA7 #A7772C #5DA72C
monochromatic
#181246 #281F77 #392CA7 #5143CD #7E73DA

Accessibility & contrast

On white

10.04
#392CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#392CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392CA7
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392CA7#FFFFFF#000000##FFFFFF
##392CA71.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #392ca7;
/* rgb */ color: rgb(57, 44, 167);
/* oklch */ color: oklch(39.8% 0.186 278.5);
Tailwind
colors: {
  custom: {
    50: '#7e67c2',
    500: '#392ca7',
    950: '#000000',
  },
}
SCSS
$custom: #392ca7;
$custom-light: #7e67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#392ca7",
  "rgb": {
    "r": 57,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 246.341,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39792,
    "c": 0.18628,
    "h": 278.5
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#392CA7
secondary
#B9C26D
accent
#E246D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #392CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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