#393C99#393C99

#393C99 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.149 H 276.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#393C99
RGBrgb(57, 60, 153)
HSLhsl(238, 46%, 41%)
HSVhsv(238, 63%, 60%)
CMYKcmyk(62.7%, 60.8%, 0%, 40%)
CIE-LABlab(30.40, 28.32, -51.41)
CIE-LCHlch(30.40, 58.70, 298.85°)
OKLaboklab(41.14% 0.0162 -0.1479)
OKLCHoklch(41.14% 0.149 276.3)
XYZxyz(9.0511, 6.4008, 30.8893)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393C99 #999639
analogous
#396C99 #393C99 #663999
triadic
#393C99 #99393C #3C9939
tetradic
#393C99 #99396C #999639 #399966
square
#393C99 #99396C #999639 #399966
split-complementary
#393C99 #996639 #6C9939
monochromatic
#181940 #282B6C #393C99 #5154BE #7E80CF

Accessibility & contrast

On white

9.21
#393C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#393C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393C99
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393C99#FFFFFF#000000##FFFFFF
##393C991.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393c99;
/* rgb */ color: rgb(57, 60, 153);
/* oklch */ color: oklch(41.1% 0.149 276.3);
Tailwind
colors: {
  custom: {
    50: '#7a72b8',
    500: '#393c99',
    950: '#000000',
  },
}
SCSS
$custom: #393c99;
$custom-light: #7a72b8;
$custom-dark: #000000;
JSON
{
  "hex": "#393c99",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 238.125,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41142,
    "c": 0.14876,
    "h": 276.3
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#393C99
secondary
#B8B676
accent
#D152D5
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #393C99

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

Preview Lab → · Contrast checker → · Palette generator →

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