#392997#392997

#392997 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.169 H 281.2°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#392997
RGBrgb(57, 41, 151)
HSLhsl(249, 57%, 38%)
HSVhsv(249, 73%, 59%)
CMYKcmyk(62.3%, 72.8%, 0%, 40.8%)
CIE-LABlab(25.83, 39.40, -57.66)
CIE-LCHlch(25.83, 69.84, 304.35°)
OKLaboklab(37.77% 0.0328 -0.1662)
OKLCHoklch(37.77% 0.169 281.2)
XYZxyz(8.0644, 4.6895, 29.7524)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392997 #879729
analogous
#295097 #392997 #702997
triadic
#392997 #973929 #299739
tetradic
#392997 #972950 #879729 #299770
square
#392997 #972950 #879729 #299770
split-complementary
#392997 #977029 #509729
monochromatic
#150F37 #271C67 #392997 #4B36C7 #7565D5

Accessibility & contrast

On white

10.84
#392997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#392997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392997
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392997#FFFFFF#000000##FFFFFF
##3929971.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #392997;
/* rgb */ color: rgb(57, 41, 151);
/* oklch */ color: oklch(37.8% 0.169 281.2);
Tailwind
colors: {
  custom: {
    50: '#7b65b7',
    500: '#392997',
    950: '#000000',
  },
}
SCSS
$custom: #392997;
$custom-light: #7b65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392997",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 248.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3777,
    "c": 0.16945,
    "h": 281.2
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#392997
secondary
#AEBB61
accent
#E147CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #392997

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

Preview Lab → · Contrast checker → · Palette generator →

#392997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva