#393A91#393A91

#393A91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.140 H 277.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#393A91
RGBrgb(57, 58, 145)
HSLhsl(239, 44%, 40%)
HSVhsv(239, 61%, 57%)
CMYKcmyk(60.7%, 60%, 0%, 43.1%)
CIE-LABlab(29.26, 26.83, -48.37)
CIE-LCHlch(29.26, 55.32, 299.01°)
OKLaboklab(40.1% 0.0183 -0.1389)
OKLCHoklch(40.1% 0.14 277.5)
XYZxyz(8.3096, 5.9397, 27.4912)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393A91 #919039
analogous
#396691 #393A91 #643991
triadic
#393A91 #91393A #3A9139
tetradic
#393A91 #913966 #919039 #399164
square
#393A91 #913966 #919039 #399164
split-complementary
#393A91 #916439 #669139
monochromatic
#161739 #282865 #393A91 #4E4FB9 #7A7BCB

Accessibility & contrast

On white

9.60
#393A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#393A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393A91
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393A91#FFFFFF#000000##FFFFFF
##393A911.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #393a91;
/* rgb */ color: rgb(57, 58, 145);
/* oklch */ color: oklch(40.1% 0.140 277.5);
Tailwind
colors: {
  custom: {
    50: '#7970b2',
    500: '#393a91',
    950: '#000000',
  },
}
SCSS
$custom: #393a91;
$custom-light: #7970b2;
$custom-dark: #000000;
JSON
{
  "hex": "#393a91",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 239.318,
    "s": 43.564,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40099,
    "c": 0.14016,
    "h": 277.5
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#393A91
secondary
#B4B372
accent
#D254D3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393A91

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

Preview Lab → · Contrast checker → · Palette generator →

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