#393C90#393C90

#393C90 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.136 H 276.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#393C90
RGBrgb(57, 60, 144)
HSLhsl(238, 43%, 39%)
HSVhsv(238, 60%, 56%)
CMYKcmyk(60.4%, 58.3%, 0%, 43.5%)
CIE-LABlab(29.70, 25.16, -47.05)
CIE-LCHlch(29.70, 53.35, 298.14°)
OKLaboklab(40.4% 0.0163 -0.135)
OKLCHoklch(40.4% 0.136 276.9)
XYZxyz(8.3356, 6.1146, 27.1211)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393C90 #908D39
analogous
#396890 #393C90 #623990
triadic
#393C90 #90393C #3C9039
tetradic
#393C90 #903968 #908D39 #399062
square
#393C90 #903968 #908D39 #399062
split-complementary
#393C90 #906239 #689039
monochromatic
#161738 #282A64 #393C90 #4D51B9 #797CCA

Accessibility & contrast

On white

9.45
#393C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#393C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393C90
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393C90#FFFFFF#000000##FFFFFF
##393C901.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #393c90;
/* rgb */ color: rgb(57, 60, 144);
/* oklch */ color: oklch(40.4% 0.136 276.9);
Tailwind
colors: {
  custom: {
    50: '#7871b1',
    500: '#393c90',
    950: '#000000',
  },
}
SCSS
$custom: #393c90;
$custom-light: #7871b1;
$custom-dark: #000000;
JSON
{
  "hex": "#393c90",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 144
  },
  "hsl": {
    "h": 237.931,
    "s": 43.284,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40401,
    "c": 0.13601,
    "h": 276.9
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

primary
#393C90
secondary
#B3B171
accent
#CF55D3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393C90

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

Preview Lab → · Contrast checker → · Palette generator →

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