#393D96#393D96

#393D96 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.143 H 276.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#393D96
RGBrgb(57, 61, 150)
HSLhsl(237, 45%, 41%)
HSVhsv(237, 62%, 59%)
CMYKcmyk(62%, 59.3%, 0%, 41.2%)
CIE-LABlab(30.42, 26.61, -49.55)
CIE-LCHlch(30.42, 56.25, 298.24°)
OKLaboklab(41.08% 0.0153 -0.1424)
OKLCHoklch(41.08% 0.143 276.1)
XYZxyz(8.8593, 6.4087, 29.6184)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393D96 #969239
analogous
#396B96 #393D96 #633996
triadic
#393D96 #96393D #3D9639
tetradic
#393D96 #96396B #969239 #399663
square
#393D96 #96396B #969239 #399663
split-complementary
#393D96 #966339 #6B9639
monochromatic
#17193D #282B6A #393D96 #5054BC #7C80CD

Accessibility & contrast

On white

9.20
#393D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#393D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393D96
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393D96#FFFFFF#000000##FFFFFF
##393D961.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #393d96;
/* rgb */ color: rgb(57, 61, 150);
/* oklch */ color: oklch(41.1% 0.143 276.1);
Tailwind
colors: {
  custom: {
    50: '#7972b6',
    500: '#393d96',
    950: '#000000',
  },
}
SCSS
$custom: #393d96;
$custom-light: #7972b6;
$custom-dark: #000000;
JSON
{
  "hex": "#393d96",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 237.419,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41082,
    "c": 0.14321,
    "h": 276.1
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#393D96
secondary
#B7B474
accent
#CF53D5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #393D96

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

Preview Lab → · Contrast checker → · Palette generator →

#393D96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva