#393CCA#393CCA

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

Color values

HEX#393CCA
RGBrgb(57, 60, 202)
HSLhsl(239, 58%, 51%)
HSVhsv(239, 72%, 79%)
CMYKcmyk(71.8%, 70.3%, 0%, 20.8%)
CIE-LABlab(34.73, 45.14, -73.48)
CIE-LCHlch(34.73, 86.24, 301.56°)
OKLaboklab(45.62% 0.0118 -0.2125)
OKLCHoklch(45.62% 0.213 273.2)
XYZxyz(13.9603, 8.3644, 56.7444)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CCA #CAC739
analogous
#3984CA #393CCA #7F39CA
triadic
#393CCA #CA393C #3CCA39
tetradic
#393CCA #CA3984 #CAC739 #39CA7F
square
#393CCA #CA3984 #CAC739 #39CA7F
split-complementary
#393CCA #CA7F39 #84CA39
monochromatic
#1D1E6C #2A2C9C #393CCA #696CD7 #9A9BE4

Accessibility & contrast

On white

7.86
#393CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#393CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CCA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CCA#FFFFFF#000000##FFFFFF
##393CCA1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#004BC7
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #393cca;
/* rgb */ color: rgb(57, 60, 202);
/* oklch */ color: oklch(45.6% 0.213 273.2);
Tailwind
colors: {
  custom: {
    50: '#8473db',
    500: '#393cca',
    950: '#000000',
  },
}
SCSS
$custom: #393cca;
$custom-light: #8473db;
$custom-dark: #000000;
JSON
{
  "hex": "#393cca",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 202
  },
  "hsl": {
    "h": 238.759,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45621,
    "c": 0.21285,
    "h": 273.2
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#393CCA
secondary
#D0CE8F
accent
#DE47E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #393CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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