#393096#393096

#393096 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.160 H 279.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#393096
RGBrgb(57, 48, 150)
HSLhsl(245, 52%, 39%)
HSVhsv(245, 68%, 59%)
CMYKcmyk(62%, 68%, 0%, 41.2%)
CIE-LABlab(27.26, 34.91, -54.71)
CIE-LCHlch(27.26, 64.90, 302.54°)
OKLaboklab(38.76% 0.0273 -0.1576)
OKLCHoklch(38.76% 0.16 279.8)
XYZxyz(8.2476, 5.1852, 29.4145)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393096 #8D9630
analogous
#305A96 #393096 #6C3096
triadic
#393096 #963930 #309639
tetradic
#393096 #96305A #8D9630 #30966C
square
#393096 #96305A #8D9630 #30966C
split-complementary
#393096 #966C30 #5A9630
monochromatic
#161239 #272168 #393096 #4C41C2 #786FD1

Accessibility & contrast

On white

10.31
#393096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#393096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393096
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393096#FFFFFF#000000##FFFFFF
##3930961.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #393096;
/* rgb */ color: rgb(57, 48, 150);
/* oklch */ color: oklch(38.8% 0.160 279.8);
Tailwind
colors: {
  custom: {
    50: '#7a69b6',
    500: '#393096',
    950: '#000000',
  },
}
SCSS
$custom: #393096;
$custom-light: #7a69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#393096",
  "rgb": {
    "r": 57,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 245.294,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38764,
    "c": 0.15996,
    "h": 279.8
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#393096
secondary
#B2B969
accent
#DB4DCE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #393096

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

Preview Lab → · Contrast checker → · Palette generator →

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