#393BAE#393BAE

#393BAE is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.178 H 275.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#393BAE
RGBrgb(57, 59, 174)
HSLhsl(239, 51%, 45%)
HSVhsv(239, 67%, 68%)
CMYKcmyk(67.2%, 66.1%, 0%, 31.8%)
CIE-LABlab(31.93, 36.26, -61.58)
CIE-LCHlch(31.93, 71.46, 300.49°)
OKLaboklab(42.81% 0.0158 -0.1777)
OKLCHoklch(42.81% 0.178 275.1)
XYZxyz(10.8888, 7.0528, 40.8237)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BAE #AEAC39
analogous
#3976AE #393BAE #7139AE
triadic
#393BAE #AE393B #3BAE39
tetradic
#393BAE #AE3976 #AEAC39 #39AE71
square
#393BAE #AE3976 #AEAC39 #39AE71
split-complementary
#393BAE #AE7139 #76AE39
monochromatic
#1B1C52 #2A2B80 #393BAE #5B5DC9 #898AD8

Accessibility & contrast

On white

8.71
#393BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#393BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BAE
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BAE#FFFFFF#000000##FFFFFF
##393BAE1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393bae;
/* rgb */ color: rgb(57, 59, 174);
/* oklch */ color: oklch(42.8% 0.178 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e71c7',
    500: '#393bae',
    950: '#000000',
  },
}
SCSS
$custom: #393bae;
$custom-light: #7e71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#393bae",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 238.974,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42809,
    "c": 0.17843,
    "h": 275.1
  },
  "luminance": 0.07054
}

Semantic roles & 50–950 ramp

primary
#393BAE
secondary
#C3C180
accent
#D84EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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