#393CC4#393CC4

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

Color values

HEX#393CC4
RGBrgb(57, 60, 196)
HSLhsl(239, 55%, 50%)
HSVhsv(239, 71%, 77%)
CMYKcmyk(70.9%, 69.4%, 0%, 23.1%)
CIE-LABlab(34.16, 43.13, -70.92)
CIE-LCHlch(34.16, 83.00, 301.31°)
OKLaboklab(45.04% 0.0126 -0.205)
OKLCHoklch(45.04% 0.205 273.5)
XYZxyz(13.2637, 8.0858, 53.0756)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CC4 #C4C139
analogous
#3982C4 #393CC4 #7C39C4
triadic
#393CC4 #C4393C #3CC439
tetradic
#393CC4 #C43982 #C4C139 #39C47C
square
#393CC4 #C43982 #C4C139 #39C47C
split-complementary
#393CC4 #C47C39 #82C439
monochromatic
#1D1F65 #2B2D95 #393CC4 #676AD3 #9798E1

Accessibility & contrast

On white

8.02
#393CC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#393CC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CC4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CC4#FFFFFF#000000##FFFFFF
##393CC41.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #393cc4;
/* rgb */ color: rgb(57, 60, 196);
/* oklch */ color: oklch(45.0% 0.205 273.5);
Tailwind
colors: {
  custom: {
    50: '#8373d7',
    500: '#393cc4',
    950: '#000000',
  },
}
SCSS
$custom: #393cc4;
$custom-light: #8373d7;
$custom-dark: #000000;
JSON
{
  "hex": "#393cc4",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 238.705,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4504,
    "c": 0.20542,
    "h": 273.5
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#393CC4
secondary
#CCCB8D
accent
#DB4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #393CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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