#393ACD#393ACD

#393ACD is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.6% C 0.219 H 273.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#393ACD
RGBrgb(57, 58, 205)
HSLhsl(240, 60%, 51%)
HSVhsv(240, 72%, 80%)
CMYKcmyk(72.2%, 71.7%, 0%, 19.6%)
CIE-LABlab(34.60, 47.29, -75.43)
CIE-LCHlch(34.60, 89.03, 302.08°)
OKLaboklab(45.62% 0.0124 -0.2182)
OKLCHoklch(45.62% 0.219 273.3)
XYZxyz(14.2162, 8.3023, 58.5991)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393ACD #CDCC39
analogous
#3984CD #393ACD #8239CD
triadic
#393ACD #CD393A #3ACD39
tetradic
#393ACD #CD3984 #CDCC39 #39CD82
square
#393ACD #CD3984 #CDCC39 #39CD82
split-complementary
#393ACD #CD8239 #84CD39
monochromatic
#1C1D6F #2829A0 #393ACD #6A6BD9 #9B9BE6

Accessibility & contrast

On white

7.89
#393ACD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#393ACD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393ACD
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393ACD#FFFFFF#000000##FFFFFF
##393ACD1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D1
Deuteranopia (green-blind)
#004ACA
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #393acd;
/* rgb */ color: rgb(57, 58, 205);
/* oklch */ color: oklch(45.6% 0.219 273.3);
Tailwind
colors: {
  custom: {
    50: '#8572de',
    500: '#393acd',
    950: '#000000',
  },
}
SCSS
$custom: #393acd;
$custom-light: #8572de;
$custom-dark: #000000;
JSON
{
  "hex": "#393acd",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 239.595,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.45619,
    "c": 0.21856,
    "h": 273.3
  },
  "luminance": 0.08304
}

Semantic roles & 50–950 ramp

primary
#393ACD
secondary
#D2D190
accent
#E245E3
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #393ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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