#393C92#393C92

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

Color values

HEX#393C92
RGBrgb(57, 60, 146)
HSLhsl(238, 44%, 40%)
HSVhsv(238, 61%, 57%)
CMYKcmyk(61%, 58.9%, 0%, 42.7%)
CIE-LABlab(29.85, 25.86, -48.03)
CIE-LCHlch(29.85, 54.55, 298.30°)
OKLaboklab(40.56% 0.0163 -0.1379)
OKLCHoklch(40.56% 0.139 276.7)
XYZxyz(8.4898, 6.1763, 27.9333)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393C92 #928F39
analogous
#396892 #393C92 #633992
triadic
#393C92 #92393C #3C9239
tetradic
#393C92 #923968 #928F39 #399263
square
#393C92 #923968 #928F39 #399263
split-complementary
#393C92 #926339 #689239
monochromatic
#17183A #282A66 #393C92 #4E52BA #7A7DCB

Accessibility & contrast

On white

9.39
#393C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#393C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393C92
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393C92#FFFFFF#000000##FFFFFF
##393C921.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #393c92;
/* rgb */ color: rgb(57, 60, 146);
/* oklch */ color: oklch(40.6% 0.139 276.7);
Tailwind
colors: {
  custom: {
    50: '#7971b3',
    500: '#393c92',
    950: '#000000',
  },
}
SCSS
$custom: #393c92;
$custom-light: #7971b3;
$custom-dark: #000000;
JSON
{
  "hex": "#393c92",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 146
  },
  "hsl": {
    "h": 237.978,
    "s": 43.842,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.13887,
    "h": 276.7
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#393C92
secondary
#B4B272
accent
#CF54D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393C92

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

Preview Lab → · Contrast checker → · Palette generator →

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