#393D91#393D91

#393D91 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.136 H 276.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#393D91
RGBrgb(57, 61, 145)
HSLhsl(237, 44%, 40%)
HSVhsv(237, 61%, 57%)
CMYKcmyk(60.7%, 57.9%, 0%, 43.1%)
CIE-LABlab(30.04, 24.86, -47.11)
CIE-LCHlch(30.04, 53.27, 297.81°)
OKLaboklab(40.68% 0.0153 -0.1352)
OKLCHoklch(40.68% 0.136 276.4)
XYZxyz(8.4653, 6.2510, 27.5431)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393D91 #918D39
analogous
#396991 #393D91 #613991
triadic
#393D91 #91393D #3D9139
tetradic
#393D91 #913969 #918D39 #399161
square
#393D91 #913969 #918D39 #399161
split-complementary
#393D91 #916139 #699139
monochromatic
#161839 #282B65 #393D91 #4E53B9 #7A7DCB

Accessibility & contrast

On white

9.33
#393D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#393D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393D91
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393D91#FFFFFF#000000##FFFFFF
##393D911.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #393d91;
/* rgb */ color: rgb(57, 61, 145);
/* oklch */ color: oklch(40.7% 0.136 276.4);
Tailwind
colors: {
  custom: {
    50: '#7872b2',
    500: '#393d91',
    950: '#000000',
  },
}
SCSS
$custom: #393d91;
$custom-light: #7872b2;
$custom-dark: #000000;
JSON
{
  "hex": "#393d91",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 237.273,
    "s": 43.564,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40676,
    "c": 0.13608,
    "h": 276.4
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#393D91
secondary
#B4B172
accent
#CE54D3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #393D91

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

Preview Lab → · Contrast checker → · Palette generator →

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