#393498#393498

#393498 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.158 H 278.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#393498
RGBrgb(57, 52, 152)
HSLhsl(243, 49%, 40%)
HSVhsv(243, 66%, 60%)
CMYKcmyk(62.5%, 65.8%, 0%, 40.4%)
CIE-LABlab(28.36, 33.10, -54.13)
CIE-LCHlch(28.36, 63.45, 301.44°)
OKLaboklab(39.62% 0.0236 -0.1559)
OKLCHoklch(39.62% 0.158 278.6)
XYZxyz(8.5810, 5.5922, 30.3269)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393498 #939834
analogous
#346198 #393498 #6B3498
triadic
#393498 #983934 #349839
tetradic
#393498 #983461 #939834 #34986B
square
#393498 #983461 #939834 #34986B
split-complementary
#393498 #986B34 #619834
monochromatic
#17153D #28246A #393498 #4F49C1 #7B76D0

Accessibility & contrast

On white

9.91
#393498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#393498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393498
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393498#FFFFFF#000000##FFFFFF
##3934981.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #393498;
/* rgb */ color: rgb(57, 52, 152);
/* oklch */ color: oklch(39.6% 0.158 278.6);
Tailwind
colors: {
  custom: {
    50: '#7a6cb7',
    500: '#393498',
    950: '#000000',
  },
}
SCSS
$custom: #393498;
$custom-light: #7a6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#393498",
  "rgb": {
    "r": 57,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 243,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.39618,
    "c": 0.15769,
    "h": 278.6
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#393498
secondary
#B5B96F
accent
#D94FD2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393498

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

Preview Lab → · Contrast checker → · Palette generator →

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