#393293#393293

#393293 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.153 H 279.7°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#393293
RGBrgb(57, 50, 147)
HSLhsl(244, 49%, 39%)
HSVhsv(244, 66%, 58%)
CMYKcmyk(61.2%, 66%, 0%, 42.4%)
CIE-LABlab(27.45, 32.66, -52.54)
CIE-LCHlch(27.45, 61.87, 301.86°)
OKLaboklab(38.83% 0.0259 -0.1512)
OKLCHoklch(38.83% 0.153 279.7)
XYZxyz(8.0927, 5.2571, 28.1864)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393293 #8C9332
analogous
#325B93 #393293 #693293
triadic
#393293 #933932 #329339
tetradic
#393293 #93325B #8C9332 #329369
square
#393293 #93325B #8C9332 #329369
split-complementary
#393293 #936932 #5B9332
monochromatic
#161338 #272265 #393293 #4C43BF #7871CF

Accessibility & contrast

On white

10.24
#393293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#393293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393293
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393293#FFFFFF#000000##FFFFFF
##3932931.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393293;
/* rgb */ color: rgb(57, 50, 147);
/* oklch */ color: oklch(38.8% 0.153 279.7);
Tailwind
colors: {
  custom: {
    50: '#7a6ab4',
    500: '#393293',
    950: '#000000',
  },
}
SCSS
$custom: #393293;
$custom-light: #7a6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#393293",
  "rgb": {
    "r": 57,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 244.33,
    "s": 49.239,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38826,
    "c": 0.15345,
    "h": 279.7
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#393293
secondary
#B1B76A
accent
#D94FCF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #393293

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

Preview Lab → · Contrast checker → · Palette generator →

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