#393BA9#393BA9

#393BA9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.172 H 275.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#393BA9
RGBrgb(57, 59, 169)
HSLhsl(239, 50%, 44%)
HSVhsv(239, 66%, 66%)
CMYKcmyk(66.3%, 65.1%, 0%, 33.7%)
CIE-LABlab(31.49, 34.53, -59.31)
CIE-LCHlch(31.49, 68.63, 300.21°)
OKLaboklab(42.36% 0.0162 -0.1711)
OKLCHoklch(42.36% 0.172 275.4)
XYZxyz(10.4104, 6.8615, 38.3042)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BA9 #A9A739
analogous
#3973A9 #393BA9 #6F39A9
triadic
#393BA9 #A9393B #3BA939
tetradic
#393BA9 #A93973 #A9A739 #39A96F
square
#393BA9 #A93973 #A9A739 #39A96F
split-complementary
#393BA9 #A96F39 #73A939
monochromatic
#1A1B4D #2A2B7B #393BA9 #585AC7 #8688D6

Accessibility & contrast

On white

8.85
#393BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#393BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BA9
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BA9#FFFFFF#000000##FFFFFF
##393BA91.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393ba9;
/* rgb */ color: rgb(57, 59, 169);
/* oklch */ color: oklch(42.4% 0.172 275.4);
Tailwind
colors: {
  custom: {
    50: '#7d71c4',
    500: '#393ba9',
    950: '#000000',
  },
}
SCSS
$custom: #393ba9;
$custom-light: #7d71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#393ba9",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 169
  },
  "hsl": {
    "h": 238.929,
    "s": 49.558,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42356,
    "c": 0.17183,
    "h": 275.4
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#393BA9
secondary
#C0BF7E
accent
#D74FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #393BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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