#393BAC#393BAC

#393BAC is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.176 H 275.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#393BAC
RGBrgb(57, 59, 172)
HSLhsl(239, 50%, 45%)
HSVhsv(239, 67%, 67%)
CMYKcmyk(66.9%, 65.7%, 0%, 32.5%)
CIE-LABlab(31.75, 35.57, -60.68)
CIE-LCHlch(31.75, 70.33, 300.38°)
OKLaboklab(42.63% 0.016 -0.1751)
OKLCHoklch(42.63% 0.176 275.2)
XYZxyz(10.6952, 6.9754, 39.8045)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BAC #ACAA39
analogous
#3974AC #393BAC #7139AC
triadic
#393BAC #AC393B #3BAC39
tetradic
#393BAC #AC3974 #ACAA39 #39AC71
square
#393BAC #AC3974 #ACAA39 #39AC71
split-complementary
#393BAC #AC7139 #74AC39
monochromatic
#1B1B50 #2A2B7E #393BAC #5A5CC8 #8889D8

Accessibility & contrast

On white

8.77
#393BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#393BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BAC
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BAC#FFFFFF#000000##FFFFFF
##393BAC1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393bac;
/* rgb */ color: rgb(57, 59, 172);
/* oklch */ color: oklch(42.6% 0.176 275.2);
Tailwind
colors: {
  custom: {
    50: '#7e71c6',
    500: '#393bac',
    950: '#000000',
  },
}
SCSS
$custom: #393bac;
$custom-light: #7e71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#393bac",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 238.957,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.17581,
    "h": 275.2
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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