#393995#393995

#393995 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.147 H 277.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#393995
RGBrgb(57, 57, 149)
HSLhsl(240, 45%, 40%)
HSVhsv(240, 62%, 58%)
CMYKcmyk(61.7%, 61.7%, 0%, 41.6%)
CIE-LABlab(29.32, 28.87, -50.72)
CIE-LCHlch(29.32, 58.36, 299.65°)
OKLaboklab(40.25% 0.0192 -0.1459)
OKLCHoklch(40.25% 0.147 277.5)
XYZxyz(8.5735, 5.9654, 29.1276)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393995 #959539
analogous
#396795 #393995 #673995
triadic
#393995 #953939 #399539
tetradic
#393995 #953967 #959539 #399567
square
#393995 #953967 #959539 #399567
split-complementary
#393995 #956739 #679539
monochromatic
#17173C #282869 #393995 #4F4FBC #7C7CCD

Accessibility & contrast

On white

9.58
#393995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#393995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393995
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393995#FFFFFF#000000##FFFFFF
##3939951.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #393995;
/* rgb */ color: rgb(57, 57, 149);
/* oklch */ color: oklch(40.2% 0.147 277.5);
Tailwind
colors: {
  custom: {
    50: '#796fb5',
    500: '#393995',
    950: '#000000',
  },
}
SCSS
$custom: #393995;
$custom-light: #796fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#393995",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 149
  },
  "hsl": {
    "h": 240,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40247,
    "c": 0.14712,
    "h": 277.5
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#393995
secondary
#B6B674
accent
#D453D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393995

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

Preview Lab → · Contrast checker → · Palette generator →

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