#393594#393594

#393594 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.151 H 278.8°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#393594
RGBrgb(57, 53, 148)
HSLhsl(243, 47%, 39%)
HSVhsv(243, 64%, 58%)
CMYKcmyk(61.5%, 64.2%, 0%, 42%)
CIE-LABlab(28.26, 31.10, -51.85)
CIE-LCHlch(28.26, 60.46, 300.96°)
OKLaboklab(39.44% 0.0231 -0.1492)
OKLCHoklch(39.44% 0.151 278.8)
XYZxyz(8.3040, 5.5536, 28.6456)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393594 #909435
analogous
#356194 #393594 #693594
triadic
#393594 #943935 #359439
tetradic
#393594 #943561 #909435 #359469
square
#393594 #943561 #909435 #359469
split-complementary
#393594 #946935 #619435
monochromatic
#16153A #282567 #393594 #4D49BE #7976CE

Accessibility & contrast

On white

9.95
#393594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#393594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393594
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393594#FFFFFF#000000##FFFFFF
##3935941.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #393594;
/* rgb */ color: rgb(57, 53, 148);
/* oklch */ color: oklch(39.4% 0.151 278.8);
Tailwind
colors: {
  custom: {
    50: '#7a6cb4',
    500: '#393594',
    950: '#000000',
  },
}
SCSS
$custom: #393594;
$custom-light: #7a6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#393594",
  "rgb": {
    "r": 57,
    "g": 53,
    "b": 148
  },
  "hsl": {
    "h": 242.526,
    "s": 47.264,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39438,
    "c": 0.15097,
    "h": 278.8
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#393594
secondary
#B3B66E
accent
#D751D1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393594

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

Preview Lab → · Contrast checker → · Palette generator →

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