#393E95#393E95

#393E95 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.140 H 275.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#393E95
RGBrgb(57, 62, 149)
HSLhsl(237, 45%, 40%)
HSVhsv(237, 62%, 58%)
CMYKcmyk(61.7%, 58.4%, 0%, 41.6%)
CIE-LABlab(30.60, 25.60, -48.65)
CIE-LCHlch(30.60, 54.97, 297.76°)
OKLaboklab(41.19% 0.0143 -0.1397)
OKLCHoklch(41.19% 0.14 275.9)
XYZxyz(8.8330, 6.4843, 29.2141)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393E95 #959039
analogous
#396C95 #393E95 #623995
triadic
#393E95 #95393E #3E9539
tetradic
#393E95 #95396C #959039 #399562
square
#393E95 #95396C #959039 #399562
split-complementary
#393E95 #956239 #6C9539
monochromatic
#17193C #282C69 #393E95 #4F55BC #7C80CD

Accessibility & contrast

On white

9.14
#393E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#393E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393E95
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393E95#FFFFFF#000000##FFFFFF
##393E951.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #393e95;
/* rgb */ color: rgb(57, 62, 149);
/* oklch */ color: oklch(41.2% 0.140 275.9);
Tailwind
colors: {
  custom: {
    50: '#7973b5',
    500: '#393e95',
    950: '#000000',
  },
}
SCSS
$custom: #393e95;
$custom-light: #7973b5;
$custom-dark: #000000;
JSON
{
  "hex": "#393e95",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 236.739,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41193,
    "c": 0.14045,
    "h": 275.9
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#393E95
secondary
#B6B274
accent
#CD53D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #393E95

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

Preview Lab → · Contrast checker → · Palette generator →

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