#393DA3#393DA3

#393DA3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.161 H 275.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#393DA3
RGBrgb(57, 61, 163)
HSLhsl(238, 48%, 43%)
HSVhsv(238, 65%, 64%)
CMYKcmyk(65%, 62.6%, 0%, 36.1%)
CIE-LABlab(31.46, 31.18, -55.74)
CIE-LCHlch(31.46, 63.87, 299.22°)
OKLaboklab(42.18% 0.015 -0.1606)
OKLCHoklch(42.18% 0.161 275.3)
XYZxyz(9.9648, 6.8508, 35.4404)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DA3 #A39F39
analogous
#3972A3 #393DA3 #6A39A3
triadic
#393DA3 #A3393D #3DA339
tetradic
#393DA3 #A33972 #A39F39 #39A36A
square
#393DA3 #A33972 #A39F39 #39A36A
split-complementary
#393DA3 #A36A39 #72A339
monochromatic
#191B48 #292C76 #393DA3 #555AC4 #8386D4

Accessibility & contrast

On white

8.86
#393DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#393DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DA3
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DA3#FFFFFF#000000##FFFFFF
##393DA31.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393da3;
/* rgb */ color: rgb(57, 61, 163);
/* oklch */ color: oklch(42.2% 0.161 275.3);
Tailwind
colors: {
  custom: {
    50: '#7c72bf',
    500: '#393da3',
    950: '#000000',
  },
}
SCSS
$custom: #393da3;
$custom-light: #7c72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#393da3",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 163
  },
  "hsl": {
    "h": 237.736,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4218,
    "c": 0.16128,
    "h": 275.3
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#393DA3
secondary
#BDBB7A
accent
#D350D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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