#392797#392797

#392797 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.172 H 281.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#392797
RGBrgb(57, 39, 151)
HSLhsl(250, 59%, 37%)
HSVhsv(250, 74%, 59%)
CMYKcmyk(62.3%, 74.2%, 0%, 40.8%)
CIE-LABlab(25.43, 40.53, -58.33)
CIE-LCHlch(25.43, 71.03, 304.80°)
OKLaboklab(37.48% 0.0344 -0.1682)
OKLCHoklch(37.48% 0.172 281.5)
XYZxyz(7.9970, 4.5547, 29.7299)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392797 #859727
analogous
#274D97 #392797 #712797
triadic
#392797 #973927 #279739
tetradic
#392797 #97274D #859727 #279771
square
#392797 #97274D #859727 #279771
split-complementary
#392797 #977127 #4D9727
monochromatic
#140E36 #271A66 #392797 #4B34C8 #7562D6

Accessibility & contrast

On white

10.99
#392797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#392797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392797
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392797#FFFFFF#000000##FFFFFF
##3927971.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #392797;
/* rgb */ color: rgb(57, 39, 151);
/* oklch */ color: oklch(37.5% 0.172 281.5);
Tailwind
colors: {
  custom: {
    50: '#7b63b7',
    500: '#392797',
    950: '#000000',
  },
}
SCSS
$custom: #392797;
$custom-light: #7b63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392797",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 249.643,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37483,
    "c": 0.17165,
    "h": 281.5
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#392797
secondary
#ADBC5E
accent
#E246C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #392797

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

Preview Lab → · Contrast checker → · Palette generator →

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