#393DC4#393DC4

#393DC4 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.2% C 0.204 H 273.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#393DC4
RGBrgb(57, 61, 196)
HSLhsl(238, 55%, 50%)
HSVhsv(238, 71%, 77%)
CMYKcmyk(70.9%, 68.9%, 0%, 23.1%)
CIE-LABlab(34.38, 42.54, -70.56)
CIE-LCHlch(34.38, 82.39, 301.09°)
OKLaboklab(45.2% 0.012 -0.204)
OKLCHoklch(45.2% 0.204 273.4)
XYZxyz(13.3166, 8.1916, 53.0932)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DC4 #C4C039
analogous
#3983C4 #393DC4 #7A39C4
triadic
#393DC4 #C4393D #3DC439
tetradic
#393DC4 #C43983 #C4C039 #39C47A
square
#393DC4 #C43983 #C4C039 #39C47A
split-complementary
#393DC4 #C47A39 #83C439
monochromatic
#1D1F65 #2B2E95 #393DC4 #676AD3 #9799E1

Accessibility & contrast

On white

7.96
#393DC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#393DC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DC4
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DC4#FFFFFF#000000##FFFFFF
##393DC41.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #393dc4;
/* rgb */ color: rgb(57, 61, 196);
/* oklch */ color: oklch(45.2% 0.204 273.4);
Tailwind
colors: {
  custom: {
    50: '#8373d7',
    500: '#393dc4',
    950: '#000000',
  },
}
SCSS
$custom: #393dc4;
$custom-light: #8373d7;
$custom-dark: #000000;
JSON
{
  "hex": "#393dc4",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 238.273,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45197,
    "c": 0.20434,
    "h": 273.4
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#393DC4
secondary
#CCCA8D
accent
#DA4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #393DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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