#393F99#393F99

#393F99 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.145 H 275.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#393F99
RGBrgb(57, 63, 153)
HSLhsl(236, 46%, 41%)
HSVhsv(236, 63%, 60%)
CMYKcmyk(62.7%, 58.8%, 0%, 40%)
CIE-LABlab(31.17, 26.36, -50.16)
CIE-LCHlch(31.17, 56.67, 297.72°)
OKLaboklab(41.71% 0.0134 -0.1442)
OKLCHoklch(41.71% 0.145 275.3)
XYZxyz(9.2127, 6.7240, 30.9432)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393F99 #999339
analogous
#396F99 #393F99 #633999
triadic
#393F99 #99393F #3F9939
tetradic
#393F99 #99396F #999339 #399963
square
#393F99 #99396F #999339 #399963
split-complementary
#393F99 #996339 #6F9939
monochromatic
#181A40 #282D6C #393F99 #5158BE #7E83CF

Accessibility & contrast

On white

8.96
#393F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#393F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393F99
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393F99#FFFFFF#000000##FFFFFF
##393F991.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #393f99;
/* rgb */ color: rgb(57, 63, 153);
/* oklch */ color: oklch(41.7% 0.145 275.3);
Tailwind
colors: {
  custom: {
    50: '#7a74b8',
    500: '#393f99',
    950: '#000000',
  },
}
SCSS
$custom: #393f99;
$custom-light: #7a74b8;
$custom-dark: #000000;
JSON
{
  "hex": "#393f99",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 236.25,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41711,
    "c": 0.14479,
    "h": 275.3
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#393F99
secondary
#B8B476
accent
#CD52D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #393F99

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

Preview Lab → · Contrast checker → · Palette generator →

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