#393DC8#393DC8

#393DC8 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.6% C 0.209 H 273.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#393DC8
RGBrgb(57, 61, 200)
HSLhsl(238, 57%, 50%)
HSVhsv(238, 72%, 78%)
CMYKcmyk(71.5%, 69.5%, 0%, 21.6%)
CIE-LABlab(34.75, 43.89, -72.28)
CIE-LCHlch(34.75, 84.56, 301.27°)
OKLaboklab(45.58% 0.0115 -0.209)
OKLCHoklch(45.58% 0.209 273.1)
XYZxyz(13.7779, 8.3761, 55.5230)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DC8 #C8C439
analogous
#3984C8 #393DC8 #7D39C8
triadic
#393DC8 #C8393D #3DC839
tetradic
#393DC8 #C83984 #C8C439 #39C87D
square
#393DC8 #C83984 #C8C439 #39C87D
split-complementary
#393DC8 #C87D39 #84C839
monochromatic
#1D1F69 #2B2E99 #393DC8 #696CD5 #999BE3

Accessibility & contrast

On white

7.85
#393DC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#393DC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DC8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DC8#FFFFFF#000000##FFFFFF
##393DC81.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #393dc8;
/* rgb */ color: rgb(57, 61, 200);
/* oklch */ color: oklch(45.6% 0.209 273.1);
Tailwind
colors: {
  custom: {
    50: '#8473da',
    500: '#393dc8',
    950: '#000000',
  },
}
SCSS
$custom: #393dc8;
$custom-light: #8473da;
$custom-dark: #000000;
JSON
{
  "hex": "#393dc8",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 238.322,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45581,
    "c": 0.20933,
    "h": 273.1
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#393DC8
secondary
#CECD8F
accent
#DC48E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #393DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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