#392AAA#392AAA

#392AAA is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.192 H 278.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#392AAA
RGBrgb(57, 42, 170)
HSLhsl(247, 60%, 42%)
HSVhsv(247, 75%, 67%)
CMYKcmyk(66.5%, 75.3%, 0%, 33.3%)
CIE-LABlab(27.92, 44.90, -65.77)
CIE-LCHlch(27.92, 79.64, 304.32°)
OKLaboklab(39.82% 0.028 -0.1899)
OKLCHoklch(39.82% 0.192 278.4)
XYZxyz(9.7687, 5.4272, 38.5552)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392AAA #9BAA2A
analogous
#2A5BAA #392AAA #792AAA
triadic
#392AAA #AA392A #2AAA39
tetradic
#392AAA #AA2A5B #9BAA2A #2AAA79
square
#392AAA #AA2A5B #9BAA2A #2AAA79
split-complementary
#392AAA #AA792A #5BAA2A
monochromatic
#181248 #291E79 #392AAA #5241D0 #7F72DC

Accessibility & contrast

On white

10.07
#392AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392AAA
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392AAA#FFFFFF#000000##FFFFFF
##392AAA1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #392aaa;
/* rgb */ color: rgb(57, 42, 170);
/* oklch */ color: oklch(39.8% 0.192 278.4);
Tailwind
colors: {
  custom: {
    50: '#7f66c5',
    500: '#392aaa',
    950: '#000000',
  },
}
SCSS
$custom: #392aaa;
$custom-light: #7f66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#392aaa",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 247.031,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.3982,
    "c": 0.192,
    "h": 278.4
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#392AAA
secondary
#B9C36C
accent
#E444D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #392AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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