#393CA5#393CA5

#393CA5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.165 H 275.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#393CA5
RGBrgb(57, 60, 165)
HSLhsl(238, 49%, 44%)
HSVhsv(238, 65%, 65%)
CMYKcmyk(65.5%, 63.6%, 0%, 35.3%)
CIE-LABlab(31.39, 32.51, -57.07)
CIE-LCHlch(31.39, 65.68, 299.67°)
OKLaboklab(42.18% 0.0157 -0.1645)
OKLCHoklch(42.18% 0.165 275.5)
XYZxyz(10.0925, 6.8173, 36.3740)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CA5 #A5A239
analogous
#3972A5 #393CA5 #6C39A5
triadic
#393CA5 #A5393C #3CA539
tetradic
#393CA5 #A53972 #A5A239 #39A56C
square
#393CA5 #A53972 #A5A239 #39A56C
split-complementary
#393CA5 #A56C39 #72A539
monochromatic
#1A1B4A #292B78 #393CA5 #5659C5 #8486D4

Accessibility & contrast

On white

8.88
#393CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#393CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CA5
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CA5#FFFFFF#000000##FFFFFF
##393CA51.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393ca5;
/* rgb */ color: rgb(57, 60, 165);
/* oklch */ color: oklch(42.2% 0.165 275.5);
Tailwind
colors: {
  custom: {
    50: '#7c72c1',
    500: '#393ca5',
    950: '#000000',
  },
}
SCSS
$custom: #393ca5;
$custom-light: #7c72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#393ca5",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 238.333,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.16524,
    "h": 275.5
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#393CA5
secondary
#BEBC7B
accent
#D450D8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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