#393ECA#393ECA

#393ECA is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 45.9% C 0.211 H 272.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#393ECA
RGBrgb(57, 62, 202)
HSLhsl(238, 58%, 51%)
HSVhsv(238, 72%, 79%)
CMYKcmyk(71.8%, 69.3%, 0%, 20.8%)
CIE-LABlab(35.16, 43.97, -72.78)
CIE-LCHlch(35.16, 85.03, 301.14°)
OKLaboklab(45.93% 0.0107 -0.2105)
OKLCHoklch(45.93% 0.211 272.9)
XYZxyz(14.0671, 8.5780, 56.7800)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393ECA #CAC539
analogous
#3986CA #393ECA #7C39CA
triadic
#393ECA #CA393E #3ECA39
tetradic
#393ECA #CA3986 #CAC539 #39CA7C
square
#393ECA #CA3986 #CAC539 #39CA7C
split-complementary
#393ECA #CA7C39 #86CA39
monochromatic
#1D206C #2A2E9C #393ECA #696DD7 #9A9CE4

Accessibility & contrast

On white

7.73
#393ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#393ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393ECA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393ECA#FFFFFF#000000##FFFFFF
##393ECA1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#004CC7
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #393eca;
/* rgb */ color: rgb(57, 62, 202);
/* oklch */ color: oklch(45.9% 0.211 272.9);
Tailwind
colors: {
  custom: {
    50: '#8474db',
    500: '#393eca',
    950: '#000000',
  },
}
SCSS
$custom: #393eca;
$custom-light: #8474db;
$custom-dark: #000000;
JSON
{
  "hex": "#393eca",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 237.931,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45929,
    "c": 0.21074,
    "h": 272.9
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#393ECA
secondary
#D0CD8F
accent
#DC47E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #393ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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