#393FCC#393FCC

#393FCC is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.3% C 0.212 H 272.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#393FCC
RGBrgb(57, 63, 204)
HSLhsl(238, 59%, 51%)
HSVhsv(238, 72%, 80%)
CMYKcmyk(72.1%, 69.1%, 0%, 20%)
CIE-LABlab(35.56, 44.05, -73.27)
CIE-LCHlch(35.56, 85.49, 301.01°)
OKLaboklab(46.28% 0.0098 -0.2119)
OKLCHoklch(46.28% 0.212 272.7)
XYZxyz(14.3603, 8.7831, 58.0535)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FCC #CCC639
analogous
#3988CC #393FCC #7C39CC
triadic
#393FCC #CC393F #3FCC39
tetradic
#393FCC #CC3988 #CCC639 #39CC7C
square
#393FCC #CC3988 #CCC639 #39CC7C
split-complementary
#393FCC #CC7C39 #88CC39
monochromatic
#1C206E #292E9F #393FCC #6A6ED9 #9A9DE5

Accessibility & contrast

On white

7.62
#393FCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#393FCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FCC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FCC#FFFFFF#000000##FFFFFF
##393FCC1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#004DC9
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #393fcc;
/* rgb */ color: rgb(57, 63, 204);
/* oklch */ color: oklch(46.3% 0.212 272.7);
Tailwind
colors: {
  custom: {
    50: '#8575dd',
    500: '#393fcc',
    950: '#000000',
  },
}
SCSS
$custom: #393fcc;
$custom-light: #8575dd;
$custom-dark: #000000;
JSON
{
  "hex": "#393fcc",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 237.551,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.21215,
    "h": 272.7
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#393FCC
secondary
#D1CE90
accent
#DC46E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #393FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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