#393EAB#393EAB

#393EAB is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.171 H 274.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#393EAB
RGBrgb(57, 62, 171)
HSLhsl(237, 50%, 45%)
HSVhsv(237, 67%, 67%)
CMYKcmyk(66.7%, 63.7%, 0%, 32.9%)
CIE-LABlab(32.38, 33.33, -59.05)
CIE-LCHlch(32.38, 67.81, 299.44°)
OKLaboklab(43.06% 0.0137 -0.1703)
OKLCHoklch(43.06% 0.171 274.6)
XYZxyz(10.7582, 7.2544, 39.3535)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EAB #ABA639
analogous
#3977AB #393EAB #6D39AB
triadic
#393EAB #AB393E #3EAB39
tetradic
#393EAB #AB3977 #ABA639 #39AB6D
square
#393EAB #AB3977 #ABA639 #39AB6D
split-complementary
#393EAB #AB6D39 #77AB39
monochromatic
#1A1D4F #2A2D7D #393EAB #595EC8 #878BD7

Accessibility & contrast

On white

8.57
#393EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#393EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EAB
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EAB#FFFFFF#000000##FFFFFF
##393EAB1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393eab;
/* rgb */ color: rgb(57, 62, 171);
/* oklch */ color: oklch(43.1% 0.171 274.6);
Tailwind
colors: {
  custom: {
    50: '#7d73c5',
    500: '#393eab',
    950: '#000000',
  },
}
SCSS
$custom: #393eab;
$custom-light: #7d73c5;
$custom-dark: #000000;
JSON
{
  "hex": "#393eab",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 237.368,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43059,
    "c": 0.17084,
    "h": 274.6
  },
  "luminance": 0.07255
}

Semantic roles & 50–950 ramp

primary
#393EAB
secondary
#C1BE7F
accent
#D34EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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