#393DC5#393DC5

#393DC5 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.3% C 0.206 H 273.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#393DC5
RGBrgb(57, 61, 197)
HSLhsl(238, 55%, 50%)
HSVhsv(238, 71%, 77%)
CMYKcmyk(71.1%, 69%, 0%, 22.7%)
CIE-LABlab(34.47, 42.88, -70.99)
CIE-LCHlch(34.47, 82.93, 301.13°)
OKLaboklab(45.29% 0.0119 -0.2052)
OKLCHoklch(45.29% 0.206 273.3)
XYZxyz(13.4308, 8.2372, 53.6946)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DC5 #C5C139
analogous
#3983C5 #393DC5 #7B39C5
triadic
#393DC5 #C5393D #3DC539
tetradic
#393DC5 #C53983 #C5C139 #39C57B
square
#393DC5 #C53983 #C5C139 #39C57B
split-complementary
#393DC5 #C57B39 #83C539
monochromatic
#1E2066 #2B2E96 #393DC5 #686BD3 #9799E1

Accessibility & contrast

On white

7.93
#393DC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#393DC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DC5
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DC5#FFFFFF#000000##FFFFFF
##393DC51.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#004AC2
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #393dc5;
/* rgb */ color: rgb(57, 61, 197);
/* oklch */ color: oklch(45.3% 0.206 273.3);
Tailwind
colors: {
  custom: {
    50: '#8373d8',
    500: '#393dc5',
    950: '#000000',
  },
}
SCSS
$custom: #393dc5;
$custom-light: #8373d8;
$custom-dark: #000000;
JSON
{
  "hex": "#393dc5",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 238.286,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45292,
    "c": 0.20559,
    "h": 273.3
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#393DC5
secondary
#CDCB8D
accent
#DA49DE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #393DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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