#392AAB#392AAB

#392AAB is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.193 H 278.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#392AAB
RGBrgb(57, 42, 171)
HSLhsl(247, 61%, 42%)
HSVhsv(247, 75%, 67%)
CMYKcmyk(66.7%, 75.4%, 0%, 32.9%)
CIE-LABlab(28.02, 45.22, -66.20)
CIE-LCHlch(28.02, 80.17, 304.33°)
OKLaboklab(39.92% 0.0278 -0.1912)
OKLCHoklch(39.92% 0.193 278.3)
XYZxyz(9.8636, 5.4652, 39.0553)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392AAB #9CAB2A
analogous
#2A5CAB #392AAB #7A2AAB
triadic
#392AAB #AB392A #2AAB39
tetradic
#392AAB #AB2A5C #9CAB2A #2AAB7A
square
#392AAB #AB2A5C #9CAB2A #2AAB7A
split-complementary
#392AAB #AB7A2A #5CAB2A
monochromatic
#181249 #291E7A #392AAB #5242D1 #7F73DD

Accessibility & contrast

On white

10.03
#392AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392AAB
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392AAB#FFFFFF#000000##FFFFFF
##392AAB1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #392aab;
/* rgb */ color: rgb(57, 42, 171);
/* oklch */ color: oklch(39.9% 0.193 278.3);
Tailwind
colors: {
  custom: {
    50: '#7f66c5',
    500: '#392aab',
    950: '#000000',
  },
}
SCSS
$custom: #392aab;
$custom-light: #7f66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#392aab",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 246.977,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39922,
    "c": 0.19322,
    "h": 278.3
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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