#392897#392897

#392897 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.171 H 281.4°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#392897
RGBrgb(57, 40, 151)
HSLhsl(249, 58%, 37%)
HSVhsv(249, 74%, 59%)
CMYKcmyk(62.3%, 73.5%, 0%, 40.8%)
CIE-LABlab(25.63, 39.97, -58.00)
CIE-LCHlch(25.63, 70.44, 304.58°)
OKLaboklab(37.63% 0.0336 -0.1672)
OKLCHoklch(37.63% 0.171 281.4)
XYZxyz(8.0303, 4.6212, 29.7410)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392897 #869728
analogous
#284F97 #392897 #702897
triadic
#392897 #973928 #289739
tetradic
#392897 #97284F #869728 #289770
square
#392897 #97284F #869728 #289770
split-complementary
#392897 #977028 #4F9728
monochromatic
#140E36 #271B67 #392897 #4B35C7 #7564D6

Accessibility & contrast

On white

10.91
#392897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#392897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392897
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392897#FFFFFF#000000##FFFFFF
##3928971.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.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: #392897;
/* rgb */ color: rgb(57, 40, 151);
/* oklch */ color: oklch(37.6% 0.171 281.4);
Tailwind
colors: {
  custom: {
    50: '#7b64b7',
    500: '#392897',
    950: '#000000',
  },
}
SCSS
$custom: #392897;
$custom-light: #7b64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392897",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 249.189,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37625,
    "c": 0.17056,
    "h": 281.4
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#392897
secondary
#ADBC5F
accent
#E146CA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #392897

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

Preview Lab → · Contrast checker → · Palette generator →

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