#393AC8#393AC8

#393AC8 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.1% C 0.212 H 273.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#393AC8
RGBrgb(57, 58, 200)
HSLhsl(240, 57%, 50%)
HSVhsv(240, 72%, 78%)
CMYKcmyk(71.5%, 71%, 0%, 21.6%)
CIE-LABlab(34.12, 45.64, -73.33)
CIE-LCHlch(34.12, 86.37, 301.90°)
OKLaboklab(45.12% 0.0132 -0.2121)
OKLCHoklch(45.12% 0.212 273.6)
XYZxyz(13.6222, 8.0648, 55.4711)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AC8 #C8C739
analogous
#3982C8 #393AC8 #7F39C8
triadic
#393AC8 #C8393A #3AC839
tetradic
#393AC8 #C83982 #C8C739 #39C87F
square
#393AC8 #C83982 #C8C739 #39C87F
split-complementary
#393AC8 #C87F39 #82C839
monochromatic
#1D1E69 #2B2B99 #393AC8 #696AD5 #9999E3

Accessibility & contrast

On white

8.04
#393AC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#393AC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AC8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AC8#FFFFFF#000000##FFFFFF
##393AC81.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#0049C5
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #393ac8;
/* rgb */ color: rgb(57, 58, 200);
/* oklch */ color: oklch(45.1% 0.212 273.6);
Tailwind
colors: {
  custom: {
    50: '#8471da',
    500: '#393ac8',
    950: '#000000',
  },
}
SCSS
$custom: #393ac8;
$custom-light: #8471da;
$custom-dark: #000000;
JSON
{
  "hex": "#393ac8",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 239.58,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45124,
    "c": 0.21247,
    "h": 273.6
  },
  "luminance": 0.08066
}

Semantic roles & 50–950 ramp

primary
#393AC8
secondary
#CECE8F
accent
#DF48E0
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #393AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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