#393DAA#393DAA

#393DAA is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.171 H 274.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#393DAA
RGBrgb(57, 61, 170)
HSLhsl(238, 50%, 45%)
HSVhsv(238, 66%, 67%)
CMYKcmyk(66.5%, 64.1%, 0%, 33.3%)
CIE-LABlab(32.05, 33.62, -58.99)
CIE-LCHlch(32.05, 67.89, 299.68°)
OKLaboklab(42.79% 0.0146 -0.1701)
OKLCHoklch(42.79% 0.171 274.9)
XYZxyz(10.6094, 7.1087, 38.8354)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DAA #AAA639
analogous
#3976AA #393DAA #6E39AA
triadic
#393DAA #AA393D #3DAA39
tetradic
#393DAA #AA3976 #AAA639 #39AA6E
square
#393DAA #AA3976 #AAA639 #39AA6E
split-complementary
#393DAA #AA6E39 #76AA39
monochromatic
#1A1C4E #2A2D7C #393DAA #595DC7 #878AD7

Accessibility & contrast

On white

8.67
#393DAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#393DAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DAA
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DAA#FFFFFF#000000##FFFFFF
##393DAA1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393daa;
/* rgb */ color: rgb(57, 61, 170);
/* oklch */ color: oklch(42.8% 0.171 274.9);
Tailwind
colors: {
  custom: {
    50: '#7d73c4',
    500: '#393daa',
    950: '#000000',
  },
}
SCSS
$custom: #393daa;
$custom-light: #7d73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#393daa",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 170
  },
  "hsl": {
    "h": 237.876,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.17073,
    "h": 274.9
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#393DAA
secondary
#C1BE7E
accent
#D44ED9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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