#393E91#393E91

#393E91 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.135 H 276.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#393E91
RGBrgb(57, 62, 145)
HSLhsl(237, 44%, 40%)
HSVhsv(237, 61%, 57%)
CMYKcmyk(60.7%, 57.2%, 0%, 43.1%)
CIE-LABlab(30.30, 24.19, -46.69)
CIE-LCHlch(30.30, 52.58, 297.39°)
OKLaboklab(40.87% 0.0143 -0.134)
OKLCHoklch(40.87% 0.135 276.1)
XYZxyz(8.5191, 6.3588, 27.5610)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393E91 #918C39
analogous
#396A91 #393E91 #603991
triadic
#393E91 #91393E #3E9139
tetradic
#393E91 #91396A #918C39 #399160
square
#393E91 #91396A #918C39 #399160
split-complementary
#393E91 #916039 #6A9139
monochromatic
#161839 #282B65 #393E91 #4E54B9 #7A7ECB

Accessibility & contrast

On white

9.24
#393E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#393E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393E91
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393E91#FFFFFF#000000##FFFFFF
##393E911.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393e91;
/* rgb */ color: rgb(57, 62, 145);
/* oklch */ color: oklch(40.9% 0.135 276.1);
Tailwind
colors: {
  custom: {
    50: '#7873b2',
    500: '#393e91',
    950: '#000000',
  },
}
SCSS
$custom: #393e91;
$custom-light: #7873b2;
$custom-dark: #000000;
JSON
{
  "hex": "#393e91",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 236.591,
    "s": 43.564,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40872,
    "c": 0.13472,
    "h": 276.1
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#393E91
secondary
#B4B072
accent
#CC54D3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #393E91

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

Preview Lab → · Contrast checker → · Palette generator →

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