#393EC4#393EC4

#393EC4 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.4% C 0.203 H 273.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#393EC4
RGBrgb(57, 62, 196)
HSLhsl(238, 55%, 50%)
HSVhsv(238, 71%, 77%)
CMYKcmyk(70.9%, 68.4%, 0%, 23.1%)
CIE-LABlab(34.60, 41.94, -70.20)
CIE-LCHlch(34.60, 81.77, 300.86°)
OKLaboklab(45.36% 0.0114 -0.2029)
OKLCHoklch(45.36% 0.203 273.2)
XYZxyz(13.3704, 8.2993, 53.1111)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EC4 #C4BF39
analogous
#3983C4 #393EC4 #7A39C4
triadic
#393EC4 #C4393E #3EC439
tetradic
#393EC4 #C43983 #C4BF39 #39C47A
square
#393EC4 #C43983 #C4BF39 #39C47A
split-complementary
#393EC4 #C47A39 #83C439
monochromatic
#1D2065 #2B2F95 #393EC4 #676BD3 #9799E1

Accessibility & contrast

On white

7.89
#393EC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#393EC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EC4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EC4#FFFFFF#000000##FFFFFF
##393EC41.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393ec4;
/* rgb */ color: rgb(57, 62, 196);
/* oklch */ color: oklch(45.4% 0.203 273.2);
Tailwind
colors: {
  custom: {
    50: '#8374d7',
    500: '#393ec4',
    950: '#000000',
  },
}
SCSS
$custom: #393ec4;
$custom-light: #8374d7;
$custom-dark: #000000;
JSON
{
  "hex": "#393ec4",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 237.842,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45355,
    "c": 0.20325,
    "h": 273.2
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#393EC4
secondary
#CCCA8D
accent
#D94ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #393EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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