#393596#393596

#393596 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.154 H 278.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#393596
RGBrgb(57, 53, 150)
HSLhsl(242, 48%, 40%)
HSVhsv(242, 65%, 59%)
CMYKcmyk(62%, 64.7%, 0%, 41.2%)
CIE-LABlab(28.43, 31.79, -52.80)
CIE-LCHlch(28.43, 61.63, 301.05°)
OKLaboklab(39.61% 0.0229 -0.152)
OKLCHoklch(39.61% 0.154 278.6)
XYZxyz(8.4637, 5.6174, 29.4865)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393596 #929635
analogous
#356296 #393596 #693596
triadic
#393596 #963935 #359639
tetradic
#393596 #963562 #929635 #359669
square
#393596 #963562 #929635 #359669
split-complementary
#393596 #966935 #629635
monochromatic
#17153C #282569 #393596 #4E49BF #7A77CF

Accessibility & contrast

On white

9.89
#393596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#393596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393596
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393596#FFFFFF#000000##FFFFFF
##3935961.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #393596;
/* rgb */ color: rgb(57, 53, 150);
/* oklch */ color: oklch(39.6% 0.154 278.6);
Tailwind
colors: {
  custom: {
    50: '#7a6db6',
    500: '#393596',
    950: '#000000',
  },
}
SCSS
$custom: #393596;
$custom-light: #7a6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#393596",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 242.474,
    "s": 47.783,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39614,
    "c": 0.15371,
    "h": 278.6
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#393596
secondary
#B4B76F
accent
#D750D2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393596

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

Preview Lab → · Contrast checker → · Palette generator →

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