#393197#393197

#393197 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.160 H 279.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#393197
RGBrgb(57, 49, 151)
HSLhsl(245, 51%, 39%)
HSVhsv(245, 68%, 59%)
CMYKcmyk(62.3%, 67.5%, 0%, 40.8%)
CIE-LABlab(27.57, 34.63, -54.80)
CIE-LCHlch(27.57, 64.83, 302.29°)
OKLaboklab(39.02% 0.0263 -0.1579)
OKLCHoklch(39.02% 0.16 279.5)
XYZxyz(8.3698, 5.3002, 29.8541)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393197 #8F9731
analogous
#315C97 #393197 #6C3197
triadic
#393197 #973931 #319739
tetradic
#393197 #97315C #8F9731 #31976C
square
#393197 #97315C #8F9731 #31976C
split-complementary
#393197 #976C31 #5C9731
monochromatic
#16133B #282269 #393197 #4D43C2 #7971D1

Accessibility & contrast

On white

10.19
#393197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#393197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393197
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393197#FFFFFF#000000##FFFFFF
##3931971.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393197;
/* rgb */ color: rgb(57, 49, 151);
/* oklch */ color: oklch(39.0% 0.160 279.5);
Tailwind
colors: {
  custom: {
    50: '#7b6ab6',
    500: '#393197',
    950: '#000000',
  },
}
SCSS
$custom: #393197;
$custom-light: #7b6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#393197",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 244.706,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39021,
    "c": 0.16007,
    "h": 279.5
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#393197
secondary
#B3B96B
accent
#DA4DCF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #393197

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

Preview Lab → · Contrast checker → · Palette generator →

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