#393C95#393C95

#393C95 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.143 H 276.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#393C95
RGBrgb(57, 60, 149)
HSLhsl(238, 45%, 40%)
HSVhsv(238, 62%, 58%)
CMYKcmyk(61.7%, 59.7%, 0%, 41.6%)
CIE-LABlab(30.09, 26.92, -49.48)
CIE-LCHlch(30.09, 56.33, 298.54°)
OKLaboklab(40.81% 0.0163 -0.1422)
OKLCHoklch(40.81% 0.143 276.5)
XYZxyz(8.7263, 6.2708, 29.1785)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393C95 #959239
analogous
#396A95 #393C95 #643995
triadic
#393C95 #95393C #3C9539
tetradic
#393C95 #95396A #959239 #399564
square
#393C95 #95396A #959239 #399564
split-complementary
#393C95 #956439 #6A9539
monochromatic
#17183C #282A69 #393C95 #4F53BC #7C7ECD

Accessibility & contrast

On white

9.32
#393C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#393C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393C95
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393C95#FFFFFF#000000##FFFFFF
##393C951.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #393c95;
/* rgb */ color: rgb(57, 60, 149);
/* oklch */ color: oklch(40.8% 0.143 276.5);
Tailwind
colors: {
  custom: {
    50: '#7971b5',
    500: '#393c95',
    950: '#000000',
  },
}
SCSS
$custom: #393c95;
$custom-light: #7971b5;
$custom-dark: #000000;
JSON
{
  "hex": "#393c95",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 238.043,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.14314,
    "h": 276.5
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#393C95
secondary
#B6B474
accent
#D053D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393C95

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

Preview Lab → · Contrast checker → · Palette generator →

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