#393ECD#393ECD

#393ECD is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.2% C 0.214 H 272.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#393ECD
RGBrgb(57, 62, 205)
HSLhsl(238, 60%, 51%)
HSVhsv(238, 72%, 80%)
CMYKcmyk(72.2%, 69.8%, 0%, 19.6%)
CIE-LABlab(35.44, 44.97, -74.05)
CIE-LCHlch(35.44, 86.64, 301.27°)
OKLaboklab(46.22% 0.0103 -0.2142)
OKLCHoklch(46.22% 0.214 272.7)
XYZxyz(14.4257, 8.7214, 58.6689)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393ECD #CDC839
analogous
#3988CD #393ECD #7E39CD
triadic
#393ECD #CD393E #3ECD39
tetradic
#393ECD #CD3988 #CDC839 #39CD7E
square
#393ECD #CD3988 #CDC839 #39CD7E
split-complementary
#393ECD #CD7E39 #88CD39
monochromatic
#1C1F6F #282DA0 #393ECD #6A6ED9 #9B9DE6

Accessibility & contrast

On white

7.65
#393ECD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#393ECD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393ECD
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393ECD#FFFFFF#000000##FFFFFF
##393ECD1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#004CCA
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #393ecd;
/* rgb */ color: rgb(57, 62, 205);
/* oklch */ color: oklch(46.2% 0.214 272.7);
Tailwind
colors: {
  custom: {
    50: '#8574de',
    500: '#393ecd',
    950: '#000000',
  },
}
SCSS
$custom: #393ecd;
$custom-light: #8574de;
$custom-dark: #000000;
JSON
{
  "hex": "#393ecd",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 237.973,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46219,
    "c": 0.21444,
    "h": 272.7
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#393ECD
secondary
#D2CF90
accent
#DE45E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #393ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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