#393DC3#393DC3

#393DC3 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.1% C 0.203 H 273.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#393DC3
RGBrgb(57, 61, 195)
HSLhsl(238, 55%, 49%)
HSVhsv(238, 71%, 76%)
CMYKcmyk(70.8%, 68.7%, 0%, 23.5%)
CIE-LABlab(34.29, 42.20, -70.13)
CIE-LCHlch(34.29, 81.85, 301.04°)
OKLaboklab(45.1% 0.0121 -0.2027)
OKLCHoklch(45.1% 0.203 273.4)
XYZxyz(13.2031, 8.1462, 52.4957)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DC3 #C3BF39
analogous
#3982C3 #393DC3 #7A39C3
triadic
#393DC3 #C3393D #3DC339
tetradic
#393DC3 #C33982 #C3BF39 #39C37A
square
#393DC3 #C33982 #C3BF39 #39C37A
split-complementary
#393DC3 #C37A39 #82C339
monochromatic
#1D1F64 #2B2E94 #393DC3 #676AD2 #9698E0

Accessibility & contrast

On white

7.99
#393DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#393DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DC3
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DC3#FFFFFF#000000##FFFFFF
##393DC31.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #393dc3;
/* rgb */ color: rgb(57, 61, 195);
/* oklch */ color: oklch(45.1% 0.203 273.4);
Tailwind
colors: {
  custom: {
    50: '#8373d6',
    500: '#393dc3',
    950: '#000000',
  },
}
SCSS
$custom: #393dc3;
$custom-light: #8373d6;
$custom-dark: #000000;
JSON
{
  "hex": "#393dc3",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 238.261,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.20309,
    "h": 273.4
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#393DC3
secondary
#CCCA8C
accent
#DA4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #393DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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