#393296#393296

#393296 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.157 H 279.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#393296
RGBrgb(57, 50, 150)
HSLhsl(244, 50%, 39%)
HSVhsv(244, 67%, 59%)
CMYKcmyk(62%, 66.7%, 0%, 41.2%)
CIE-LABlab(27.72, 33.67, -53.96)
CIE-LCHlch(27.72, 63.60, 301.97°)
OKLaboklab(39.1% 0.0256 -0.1554)
OKLCHoklch(39.1% 0.157 279.4)
XYZxyz(8.3312, 5.3525, 29.4423)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393296 #8F9632
analogous
#325D96 #393296 #6B3296
triadic
#393296 #963932 #329639
tetradic
#393296 #96325D #8F9632 #32966B
square
#393296 #96325D #8F9632 #32966B
split-complementary
#393296 #966B32 #5D9632
monochromatic
#16133A #282368 #393296 #4D44C1 #7972D0

Accessibility & contrast

On white

10.14
#393296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#393296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393296
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393296#FFFFFF#000000##FFFFFF
##3932961.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #393296;
/* rgb */ color: rgb(57, 50, 150);
/* oklch */ color: oklch(39.1% 0.157 279.4);
Tailwind
colors: {
  custom: {
    50: '#7a6ab6',
    500: '#393296',
    950: '#000000',
  },
}
SCSS
$custom: #393296;
$custom-light: #7a6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#393296",
  "rgb": {
    "r": 57,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 244.2,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39097,
    "c": 0.15749,
    "h": 279.4
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#393296
secondary
#B3B86C
accent
#DA4ED0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #393296

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

Preview Lab → · Contrast checker → · Palette generator →

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