#393B95#393B95

#393B95 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.144 H 276.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#393B95
RGBrgb(57, 59, 149)
HSLhsl(239, 45%, 40%)
HSVhsv(239, 62%, 58%)
CMYKcmyk(61.7%, 60.4%, 0%, 41.6%)
CIE-LABlab(29.83, 27.57, -49.90)
CIE-LCHlch(29.83, 57.01, 298.92°)
OKLaboklab(40.62% 0.0173 -0.1434)
OKLCHoklch(40.62% 0.144 276.9)
XYZxyz(8.6744, 6.1671, 29.1612)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393B95 #959339
analogous
#396995 #393B95 #653995
triadic
#393B95 #95393B #3B9539
tetradic
#393B95 #953969 #959339 #399565
square
#393B95 #953969 #959339 #399565
split-complementary
#393B95 #956539 #699539
monochromatic
#17183C #282969 #393B95 #4F52BC #7C7DCD

Accessibility & contrast

On white

9.40
#393B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#393B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393B95
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393B95#FFFFFF#000000##FFFFFF
##393B951.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #393b95;
/* rgb */ color: rgb(57, 59, 149);
/* oklch */ color: oklch(40.6% 0.144 276.9);
Tailwind
colors: {
  custom: {
    50: '#7971b5',
    500: '#393b95',
    950: '#000000',
  },
}
SCSS
$custom: #393b95;
$custom-light: #7971b5;
$custom-dark: #000000;
JSON
{
  "hex": "#393b95",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 238.696,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4062,
    "c": 0.14447,
    "h": 276.9
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#393B95
secondary
#B6B574
accent
#D253D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393B95

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

Preview Lab → · Contrast checker → · Palette generator →

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