#393CAB#393CAB

#393CAB is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.173 H 275.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#393CAB
RGBrgb(57, 60, 171)
HSLhsl(238, 50%, 45%)
HSVhsv(238, 67%, 67%)
CMYKcmyk(66.7%, 64.9%, 0%, 32.9%)
CIE-LABlab(31.90, 34.60, -59.83)
CIE-LCHlch(31.90, 69.12, 300.04°)
OKLaboklab(42.71% 0.0153 -0.1726)
OKLCHoklch(42.71% 0.173 275.1)
XYZxyz(10.6515, 7.0409, 39.3179)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CAB #ABA839
analogous
#3975AB #393CAB #6F39AB
triadic
#393CAB #AB393C #3CAB39
tetradic
#393CAB #AB3975 #ABA839 #39AB6F
square
#393CAB #AB3975 #ABA839 #39AB6F
split-complementary
#393CAB #AB6F39 #75AB39
monochromatic
#1A1C4F #2A2C7D #393CAB #595CC8 #8789D7

Accessibility & contrast

On white

8.72
#393CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#393CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CAB
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CAB#FFFFFF#000000##FFFFFF
##393CAB1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393cab;
/* rgb */ color: rgb(57, 60, 171);
/* oklch */ color: oklch(42.7% 0.173 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e72c5',
    500: '#393cab',
    950: '#000000',
  },
}
SCSS
$custom: #393cab;
$custom-light: #7e72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#393cab",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 238.421,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42709,
    "c": 0.17328,
    "h": 275.1
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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