#393FB9#393FB9

#393FB9 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.5% C 0.188 H 273.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#393FB9
RGBrgb(57, 63, 185)
HSLhsl(237, 53%, 47%)
HSVhsv(237, 69%, 73%)
CMYKcmyk(69.2%, 65.9%, 0%, 27.5%)
CIE-LABlab(33.83, 37.57, -65.00)
CIE-LCHlch(33.83, 75.07, 300.03°)
OKLaboklab(44.49% 0.0119 -0.1877)
OKLCHoklch(44.49% 0.188 273.6)
XYZxyz(12.2189, 7.9265, 46.7756)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FB9 #B9B339
analogous
#397FB9 #393FB9 #7339B9
triadic
#393FB9 #B9393F #3FB939
tetradic
#393FB9 #B9397F #B9B339 #39B973
square
#393FB9 #B9397F #B9B339 #39B973
split-complementary
#393FB9 #B97339 #7FB939
monochromatic
#1C1F5B #2B2F8A #393FB9 #6166CE #9093DD

Accessibility & contrast

On white

8.12
#393FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#393FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FB9
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FB9#FFFFFF#000000##FFFFFF
##393FB91.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #393fb9;
/* rgb */ color: rgb(57, 63, 185);
/* oklch */ color: oklch(44.5% 0.188 273.6);
Tailwind
colors: {
  custom: {
    50: '#8074cf',
    500: '#393fb9',
    950: '#000000',
  },
}
SCSS
$custom: #393fb9;
$custom-light: #8074cf;
$custom-dark: #000000;
JSON
{
  "hex": "#393fb9",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 237.188,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44493,
    "c": 0.18809,
    "h": 273.6
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#393FB9
secondary
#C8C486
accent
#D64BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #393FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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