#393BA8#393BA8

#393BA8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.171 H 275.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#393BA8
RGBrgb(57, 59, 168)
HSLhsl(239, 49%, 44%)
HSVhsv(239, 66%, 66%)
CMYKcmyk(66.1%, 64.9%, 0%, 34.1%)
CIE-LABlab(31.40, 34.19, -58.85)
CIE-LCHlch(31.40, 68.06, 300.15°)
OKLaboklab(42.27% 0.0163 -0.1697)
OKLCHoklch(42.27% 0.171 275.5)
XYZxyz(10.3169, 6.8240, 37.8117)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BA8 #A8A639
analogous
#3973A8 #393BA8 #6F39A8
triadic
#393BA8 #A8393B #3BA839
tetradic
#393BA8 #A83973 #A8A639 #39A86F
square
#393BA8 #A83973 #A8A639 #39A86F
split-complementary
#393BA8 #A86F39 #73A839
monochromatic
#1A1B4D #292B7A #393BA8 #585AC6 #8687D6

Accessibility & contrast

On white

8.88
#393BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#393BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BA8
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BA8#FFFFFF#000000##FFFFFF
##393BA81.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393ba8;
/* rgb */ color: rgb(57, 59, 168);
/* oklch */ color: oklch(42.3% 0.171 275.5);
Tailwind
colors: {
  custom: {
    50: '#7d71c3',
    500: '#393ba8',
    950: '#000000',
  },
}
SCSS
$custom: #393ba8;
$custom-light: #7d71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#393ba8",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 238.919,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42266,
    "c": 0.1705,
    "h": 275.5
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#393BA8
secondary
#C0BF7D
accent
#D64FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #393BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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