#393396#393396

#393396 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.156 H 279.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#393396
RGBrgb(57, 51, 150)
HSLhsl(244, 49%, 39%)
HSVhsv(244, 66%, 59%)
CMYKcmyk(62%, 66%, 0%, 41.2%)
CIE-LABlab(27.95, 33.05, -53.58)
CIE-LCHlch(27.95, 62.95, 301.67°)
OKLaboklab(39.27% 0.0247 -0.1543)
OKLCHoklch(39.27% 0.156 279.1)
XYZxyz(8.3744, 5.4389, 29.4568)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393396 #909633
analogous
#335F96 #393396 #6B3396
triadic
#393396 #963933 #339639
tetradic
#393396 #96335F #909633 #33966B
square
#393396 #96335F #909633 #33966B
split-complementary
#393396 #966B33 #5F9633
monochromatic
#16143B #282368 #393396 #4D46C0 #7974D0

Accessibility & contrast

On white

10.06
#393396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#393396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393396
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393396#FFFFFF#000000##FFFFFF
##3933961.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #393396;
/* rgb */ color: rgb(57, 51, 150);
/* oklch */ color: oklch(39.3% 0.156 279.1);
Tailwind
colors: {
  custom: {
    50: '#7a6bb6',
    500: '#393396',
    950: '#000000',
  },
}
SCSS
$custom: #393396;
$custom-light: #7a6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#393396",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 243.636,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39267,
    "c": 0.15624,
    "h": 279.1
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#393396
secondary
#B3B86D
accent
#D94FD0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393396

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

Preview Lab → · Contrast checker → · Palette generator →

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