#393F91#393F91

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

Color values

HEX#393F91
RGBrgb(57, 63, 145)
HSLhsl(236, 44%, 40%)
HSVhsv(236, 61%, 57%)
CMYKcmyk(60.7%, 56.6%, 0%, 43.1%)
CIE-LABlab(30.57, 23.53, -46.26)
CIE-LCHlch(30.57, 51.90, 296.96°)
OKLaboklab(41.07% 0.0132 -0.1327)
OKLCHoklch(41.07% 0.133 275.7)
XYZxyz(8.5740, 6.4686, 27.5793)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393F91 #918B39
analogous
#396B91 #393F91 #5F3991
triadic
#393F91 #91393F #3F9139
tetradic
#393F91 #91396B #918B39 #39915F
square
#393F91 #91396B #918B39 #39915F
split-complementary
#393F91 #915F39 #6B9139
monochromatic
#161939 #282C65 #393F91 #4E55B9 #7A7FCB

Accessibility & contrast

On white

9.16
#393F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#393F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393F91
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393F91#FFFFFF#000000##FFFFFF
##393F911.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024C94
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #393f91;
/* rgb */ color: rgb(57, 63, 145);
/* oklch */ color: oklch(41.1% 0.133 275.7);
Tailwind
colors: {
  custom: {
    50: '#7874b2',
    500: '#393f91',
    950: '#000000',
  },
}
SCSS
$custom: #393f91;
$custom-light: #7874b2;
$custom-dark: #000000;
JSON
{
  "hex": "#393f91",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 235.909,
    "s": 43.564,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41069,
    "c": 0.13335,
    "h": 275.7
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#393F91
secondary
#B4AF72
accent
#CB54D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #393F91

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

Preview Lab → · Contrast checker → · Palette generator →

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