#393DCB#393DCB

#393DCB is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.9% C 0.213 H 273.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#393DCB
RGBrgb(57, 61, 203)
HSLhsl(238, 58%, 51%)
HSVhsv(238, 72%, 80%)
CMYKcmyk(71.9%, 70%, 0%, 20.4%)
CIE-LABlab(35.04, 44.89, -73.56)
CIE-LCHlch(35.04, 86.17, 301.40°)
OKLaboklab(45.87% 0.0111 -0.2127)
OKLCHoklch(45.87% 0.213 273)
XYZxyz(14.1320, 8.5177, 57.3876)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DCB #CBC739
analogous
#3986CB #393DCB #7E39CB
triadic
#393DCB #CB393D #3DCB39
tetradic
#393DCB #CB3986 #CBC739 #39CB7E
square
#393DCB #CB3986 #CBC739 #39CB7E
split-complementary
#393DCB #CB7E39 #86CB39
monochromatic
#1D1F6D #292D9D #393DCB #696CD8 #9A9CE4

Accessibility & contrast

On white

7.77
#393DCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#393DCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DCB
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DCB#FFFFFF#000000##FFFFFF
##393DCB1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#004BC8
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #393dcb;
/* rgb */ color: rgb(57, 61, 203);
/* oklch */ color: oklch(45.9% 0.213 273.0);
Tailwind
colors: {
  custom: {
    50: '#8473dc',
    500: '#393dcb',
    950: '#000000',
  },
}
SCSS
$custom: #393dcb;
$custom-light: #8473dc;
$custom-dark: #000000;
JSON
{
  "hex": "#393dcb",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 238.356,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45872,
    "c": 0.21303,
    "h": 273
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#393DCB
secondary
#D0CE90
accent
#DD46E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #393DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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