#393387#393387

#393387 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.136 H 281.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#393387
RGBrgb(57, 51, 135)
HSLhsl(244, 45%, 36%)
HSVhsv(244, 62%, 53%)
CMYKcmyk(57.8%, 62.2%, 0%, 47.1%)
CIE-LABlab(26.70, 27.95, -46.35)
CIE-LCHlch(26.70, 54.12, 301.09°)
OKLaboklab(37.96% 0.0258 -0.133)
OKLCHoklch(37.96% 0.136 281)
XYZxyz(7.2430, 4.9863, 23.4978)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393387 #818733
analogous
#335787 #393387 #633387
triadic
#393387 #873933 #338739
tetradic
#393387 #873357 #818733 #338763
square
#393387 #873357 #818733 #338763
split-complementary
#393387 #876333 #578733
monochromatic
#13112E #26225B #393387 #4C44B3 #736DC8

Accessibility & contrast

On white

10.51
#393387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#393387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393387
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393387#FFFFFF#000000##FFFFFF
##3933871.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#114758
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #393387;
/* rgb */ color: rgb(57, 51, 135);
/* oklch */ color: oklch(38.0% 0.136 281.0);
Tailwind
colors: {
  custom: {
    50: '#776bab',
    500: '#393387',
    950: '#000000',
  },
}
SCSS
$custom: #393387;
$custom-light: #776bab;
$custom-dark: #000000;
JSON
{
  "hex": "#393387",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 244.286,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37958,
    "c": 0.13553,
    "h": 281
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#393387
secondary
#AAB066
accent
#D553CC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #393387

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

Preview Lab → · Contrast checker → · Palette generator →

#393387 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva