#393EAA#393EAA

#393EAA is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.170 H 274.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#393EAA
RGBrgb(57, 62, 170)
HSLhsl(237, 50%, 45%)
HSVhsv(237, 66%, 67%)
CMYKcmyk(66.5%, 63.5%, 0%, 33.3%)
CIE-LABlab(32.29, 32.98, -58.59)
CIE-LCHlch(32.29, 67.24, 299.38°)
OKLaboklab(42.97% 0.0138 -0.1689)
OKLCHoklch(42.97% 0.17 274.7)
XYZxyz(10.6633, 7.2164, 38.8534)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EAA #AAA539
analogous
#3977AA #393EAA #6D39AA
triadic
#393EAA #AA393E #3EAA39
tetradic
#393EAA #AA3977 #AAA539 #39AA6D
square
#393EAA #AA3977 #AAA539 #39AA6D
split-complementary
#393EAA #AA6D39 #77AA39
monochromatic
#1A1D4E #2A2D7C #393EAA #595EC7 #878AD7

Accessibility & contrast

On white

8.59
#393EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#393EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EAA
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EAA#FFFFFF#000000##FFFFFF
##393EAA1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393eaa;
/* rgb */ color: rgb(57, 62, 170);
/* oklch */ color: oklch(43.0% 0.170 274.7);
Tailwind
colors: {
  custom: {
    50: '#7d73c4',
    500: '#393eaa',
    950: '#000000',
  },
}
SCSS
$custom: #393eaa;
$custom-light: #7d73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#393eaa",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 237.345,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42971,
    "c": 0.1695,
    "h": 274.7
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#393EAA
secondary
#C1BE7E
accent
#D34ED9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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