#393AAA#393AAA

#393AAA is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.174 H 275.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#393AAA
RGBrgb(57, 58, 170)
HSLhsl(239, 50%, 45%)
HSVhsv(239, 66%, 67%)
CMYKcmyk(66.5%, 65.9%, 0%, 33.3%)
CIE-LABlab(31.34, 35.50, -60.15)
CIE-LCHlch(31.34, 69.85, 300.55°)
OKLaboklab(42.27% 0.0169 -0.1735)
OKLCHoklch(42.27% 0.174 275.6)
XYZxyz(10.4537, 6.7973, 38.7835)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AAA #AAA939
analogous
#3973AA #393AAA #7139AA
triadic
#393AAA #AA393A #3AAA39
tetradic
#393AAA #AA3973 #AAA939 #39AA71
square
#393AAA #AA3973 #AAA939 #39AA71
split-complementary
#393AAA #AA7139 #73AA39
monochromatic
#1A1B4E #2A2A7C #393AAA #595AC7 #8787D7

Accessibility & contrast

On white

8.90
#393AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#393AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AAA
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AAA#FFFFFF#000000##FFFFFF
##393AAA1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393aaa;
/* rgb */ color: rgb(57, 58, 170);
/* oklch */ color: oklch(42.3% 0.174 275.6);
Tailwind
colors: {
  custom: {
    50: '#7e70c4',
    500: '#393aaa',
    950: '#000000',
  },
}
SCSS
$custom: #393aaa;
$custom-light: #7e70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#393aaa",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 239.469,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42274,
    "c": 0.17436,
    "h": 275.6
  },
  "luminance": 0.06798
}

Semantic roles & 50–950 ramp

primary
#393AAA
secondary
#C1C07E
accent
#D84ED9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #393AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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