#393DAB#393DAB

#393DAB is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.172 H 274.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#393DAB
RGBrgb(57, 61, 171)
HSLhsl(238, 50%, 45%)
HSVhsv(238, 67%, 67%)
CMYKcmyk(66.7%, 64.3%, 0%, 32.9%)
CIE-LABlab(32.14, 33.97, -59.44)
CIE-LCHlch(32.14, 68.46, 299.74°)
OKLaboklab(42.88% 0.0145 -0.1714)
OKLCHoklch(42.88% 0.172 274.8)
XYZxyz(10.7043, 7.1467, 39.3355)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DAB #ABA739
analogous
#3976AB #393DAB #6E39AB
triadic
#393DAB #AB393D #3DAB39
tetradic
#393DAB #AB3976 #ABA739 #39AB6E
square
#393DAB #AB3976 #ABA739 #39AB6E
split-complementary
#393DAB #AB6E39 #76AB39
monochromatic
#1A1C4F #2A2D7D #393DAB #595DC8 #878AD7

Accessibility & contrast

On white

8.64
#393DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#393DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DAB
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DAB#FFFFFF#000000##FFFFFF
##393DAB1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393dab;
/* rgb */ color: rgb(57, 61, 171);
/* oklch */ color: oklch(42.9% 0.172 274.8);
Tailwind
colors: {
  custom: {
    50: '#7e73c5',
    500: '#393dab',
    950: '#000000',
  },
}
SCSS
$custom: #393dab;
$custom-light: #7e73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#393dab",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 171
  },
  "hsl": {
    "h": 237.895,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42883,
    "c": 0.17206,
    "h": 274.8
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#393DAB
secondary
#C1BF7F
accent
#D54EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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