#393E97#393E97

#393E97 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.143 H 275.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#393E97
RGBrgb(57, 62, 151)
HSLhsl(237, 45%, 41%)
HSVhsv(237, 62%, 59%)
CMYKcmyk(62.3%, 58.9%, 0%, 40.8%)
CIE-LABlab(30.76, 26.31, -49.62)
CIE-LCHlch(30.76, 56.16, 297.93°)
OKLaboklab(41.36% 0.0143 -0.1426)
OKLCHoklch(41.36% 0.143 275.7)
XYZxyz(8.9941, 6.5488, 30.0622)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393E97 #979239
analogous
#396D97 #393E97 #633997
triadic
#393E97 #97393E #3E9739
tetradic
#393E97 #97396D #979239 #399763
square
#393E97 #97396D #979239 #399763
split-complementary
#393E97 #976339 #6D9739
monochromatic
#171A3E #282C6B #393E97 #5056BD #7D81CE

Accessibility & contrast

On white

9.09
#393E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#393E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393E97
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393E97#FFFFFF#000000##FFFFFF
##393E971.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #393e97;
/* rgb */ color: rgb(57, 62, 151);
/* oklch */ color: oklch(41.4% 0.143 275.7);
Tailwind
colors: {
  custom: {
    50: '#7973b6',
    500: '#393e97',
    950: '#000000',
  },
}
SCSS
$custom: #393e97;
$custom-light: #7973b6;
$custom-dark: #000000;
JSON
{
  "hex": "#393e97",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 236.809,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41356,
    "c": 0.14329,
    "h": 275.7
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#393E97
secondary
#B7B475
accent
#CE53D5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #393E97

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

Preview Lab → · Contrast checker → · Palette generator →

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