#393BCC#393BCC

#393BCC is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.7% C 0.216 H 273.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#393BCC
RGBrgb(57, 59, 204)
HSLhsl(239, 59%, 51%)
HSVhsv(239, 72%, 80%)
CMYKcmyk(72.1%, 71.1%, 0%, 20%)
CIE-LABlab(34.71, 46.38, -74.67)
CIE-LCHlch(34.71, 87.91, 301.85°)
OKLaboklab(45.67% 0.012 -0.216)
OKLCHoklch(45.67% 0.216 273.2)
XYZxyz(14.1467, 8.3560, 57.9824)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BCC #CCCA39
analogous
#3984CC #393BCC #8039CC
triadic
#393BCC #CC393B #3BCC39
tetradic
#393BCC #CC3984 #CCCA39 #39CC80
square
#393BCC #CC3984 #CCCA39 #39CC80
split-complementary
#393BCC #CC8039 #84CC39
monochromatic
#1C1E6E #292B9F #393BCC #6A6BD9 #9A9BE5

Accessibility & contrast

On white

7.86
#393BCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#393BCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BCC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BCC#FFFFFF#000000##FFFFFF
##393BCC1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#004BC9
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #393bcc;
/* rgb */ color: rgb(57, 59, 204);
/* oklch */ color: oklch(45.7% 0.216 273.2);
Tailwind
colors: {
  custom: {
    50: '#8572dd',
    500: '#393bcc',
    950: '#000000',
  },
}
SCSS
$custom: #393bcc;
$custom-light: #8572dd;
$custom-dark: #000000;
JSON
{
  "hex": "#393bcc",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 239.184,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45667,
    "c": 0.21633,
    "h": 273.2
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#393BCC
secondary
#D1D090
accent
#E046E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #393BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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