#393489#393489

#393489 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.137 H 280.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#393489
RGBrgb(57, 52, 137)
HSLhsl(244, 45%, 37%)
HSVhsv(244, 62%, 54%)
CMYKcmyk(58.4%, 62%, 0%, 46.3%)
CIE-LABlab(27.11, 27.98, -46.93)
CIE-LCHlch(27.11, 54.64, 300.80°)
OKLaboklab(38.31% 0.0247 -0.1347)
OKLCHoklch(38.31% 0.137 280.4)
XYZxyz(7.4293, 5.1315, 24.2611)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393489 #848934
analogous
#345A89 #393489 #633489
triadic
#393489 #893934 #348939
tetradic
#393489 #89345A #848934 #348963
square
#393489 #89345A #848934 #348963
split-complementary
#393489 #896334 #5A8934
monochromatic
#141230 #27235D #393489 #4B45B5 #746FC8

Accessibility & contrast

On white

10.36
#393489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#393489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393489
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393489#FFFFFF#000000##FFFFFF
##3934891.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#0D4859
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #393489;
/* rgb */ color: rgb(57, 52, 137);
/* oklch */ color: oklch(38.3% 0.137 280.4);
Tailwind
colors: {
  custom: {
    50: '#786cac',
    500: '#393489',
    950: '#000000',
  },
}
SCSS
$custom: #393489;
$custom-light: #786cac;
$custom-dark: #000000;
JSON
{
  "hex": "#393489",
  "rgb": {
    "r": 57,
    "g": 52,
    "b": 137
  },
  "hsl": {
    "h": 243.529,
    "s": 44.974,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38311,
    "c": 0.13699,
    "h": 280.4
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#393489
secondary
#ACB068
accent
#D553CD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #393489

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

Preview Lab → · Contrast checker → · Palette generator →

#393489 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva