#393DC2#393DC2

#393DC2 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.0% C 0.202 H 273.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#393DC2
RGBrgb(57, 61, 194)
HSLhsl(238, 55%, 49%)
HSVhsv(238, 71%, 76%)
CMYKcmyk(70.6%, 68.6%, 0%, 23.9%)
CIE-LABlab(34.19, 41.86, -69.69)
CIE-LCHlch(34.19, 81.30, 300.99°)
OKLaboklab(45.01% 0.0123 -0.2015)
OKLCHoklch(45.01% 0.202 273.5)
XYZxyz(13.0904, 8.1011, 51.9023)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DC2 #C2BE39
analogous
#3982C2 #393DC2 #7A39C2
triadic
#393DC2 #C2393D #3DC239
tetradic
#393DC2 #C23982 #C2BE39 #39C27A
square
#393DC2 #C23982 #C2BE39 #39C27A
split-complementary
#393DC2 #C27A39 #82C239
monochromatic
#1D1F63 #2B2E93 #393DC2 #6669D2 #9598E0

Accessibility & contrast

On white

8.01
#393DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#393DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DC2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DC2#FFFFFF#000000##FFFFFF
##393DC21.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #393dc2;
/* rgb */ color: rgb(57, 61, 194);
/* oklch */ color: oklch(45.0% 0.202 273.5);
Tailwind
colors: {
  custom: {
    50: '#8273d6',
    500: '#393dc2',
    950: '#000000',
  },
}
SCSS
$custom: #393dc2;
$custom-light: #8273d6;
$custom-dark: #000000;
JSON
{
  "hex": "#393dc2",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 238.248,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45006,
    "c": 0.20183,
    "h": 273.5
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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