#393CAC#393CAC

#393CAC is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.175 H 275.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#393CAC
RGBrgb(57, 60, 172)
HSLhsl(238, 50%, 45%)
HSVhsv(238, 67%, 67%)
CMYKcmyk(66.9%, 65.1%, 0%, 32.5%)
CIE-LABlab(31.99, 34.94, -60.29)
CIE-LCHlch(31.99, 69.68, 300.09°)
OKLaboklab(42.8% 0.0152 -0.1739)
OKLCHoklch(42.8% 0.175 275)
XYZxyz(10.7471, 7.0792, 39.8218)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CAC #ACA939
analogous
#3975AC #393CAC #7039AC
triadic
#393CAC #AC393C #3CAC39
tetradic
#393CAC #AC3975 #ACA939 #39AC70
square
#393CAC #AC3975 #ACA939 #39AC70
split-complementary
#393CAC #AC7039 #75AC39
monochromatic
#1B1C50 #2A2C7E #393CAC #5A5DC8 #888AD8

Accessibility & contrast

On white

8.69
#393CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#393CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CAC
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CAC#FFFFFF#000000##FFFFFF
##393CAC1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393cac;
/* rgb */ color: rgb(57, 60, 172);
/* oklch */ color: oklch(42.8% 0.175 275.0);
Tailwind
colors: {
  custom: {
    50: '#7e72c6',
    500: '#393cac',
    950: '#000000',
  },
}
SCSS
$custom: #393cac;
$custom-light: #7e72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#393cac",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 238.435,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42799,
    "c": 0.1746,
    "h": 275
  },
  "luminance": 0.0708
}

Semantic roles & 50–950 ramp

primary
#393CAC
secondary
#C2C07F
accent
#D64EDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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