#393497#393497

#393497 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.156 H 278.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#393497
RGBrgb(57, 52, 151)
HSLhsl(243, 49%, 40%)
HSVhsv(243, 66%, 59%)
CMYKcmyk(62.3%, 65.6%, 0%, 40.8%)
CIE-LABlab(28.27, 32.76, -53.66)
CIE-LCHlch(28.27, 62.87, 301.40°)
OKLaboklab(39.53% 0.0237 -0.1545)
OKLCHoklch(39.53% 0.156 278.7)
XYZxyz(8.4995, 5.5596, 29.8974)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393497 #929734
analogous
#346197 #393497 #6A3497
triadic
#393497 #973934 #349739
tetradic
#393497 #973461 #929734 #34976A
square
#393497 #973461 #929734 #34976A
split-complementary
#393497 #976A34 #619734
monochromatic
#17153C #282469 #393497 #4E48C0 #7A76D0

Accessibility & contrast

On white

9.94
#393497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#393497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393497
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393497#FFFFFF#000000##FFFFFF
##3934971.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #393497;
/* rgb */ color: rgb(57, 52, 151);
/* oklch */ color: oklch(39.5% 0.156 278.7);
Tailwind
colors: {
  custom: {
    50: '#7a6cb6',
    500: '#393497',
    950: '#000000',
  },
}
SCSS
$custom: #393497;
$custom-light: #7a6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#393497",
  "rgb": {
    "r": 57,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 243.03,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39529,
    "c": 0.15634,
    "h": 278.7
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#393497
secondary
#B4B86F
accent
#D84FD1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393497

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

Preview Lab → · Contrast checker → · Palette generator →

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