#393CC5#393CC5

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

Color values

HEX#393CC5
RGBrgb(57, 60, 197)
HSLhsl(239, 55%, 50%)
HSVhsv(239, 71%, 77%)
CMYKcmyk(71.1%, 69.5%, 0%, 22.7%)
CIE-LABlab(34.26, 43.47, -71.35)
CIE-LCHlch(34.26, 83.55, 301.35°)
OKLaboklab(45.14% 0.0125 -0.2063)
OKLCHoklch(45.14% 0.207 273.5)
XYZxyz(13.3779, 8.1315, 53.6770)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CC5 #C5C239
analogous
#3982C5 #393CC5 #7C39C5
triadic
#393CC5 #C5393C #3CC539
tetradic
#393CC5 #C53982 #C5C239 #39C57C
square
#393CC5 #C53982 #C5C239 #39C57C
split-complementary
#393CC5 #C57C39 #82C539
monochromatic
#1E1F66 #2B2E96 #393CC5 #686AD3 #9799E1

Accessibility & contrast

On white

8.00
#393CC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#393CC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CC5
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CC5#FFFFFF#000000##FFFFFF
##393CC51.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004AC2
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #393cc5;
/* rgb */ color: rgb(57, 60, 197);
/* oklch */ color: oklch(45.1% 0.207 273.5);
Tailwind
colors: {
  custom: {
    50: '#8373d8',
    500: '#393cc5',
    950: '#000000',
  },
}
SCSS
$custom: #393cc5;
$custom-light: #8373d8;
$custom-dark: #000000;
JSON
{
  "hex": "#393cc5",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 238.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45136,
    "c": 0.20667,
    "h": 273.5
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#393CC5
secondary
#CDCB8D
accent
#DB49DE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #393CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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