#393398#393398

#393398 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.159 H 278.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#393398
RGBrgb(57, 51, 152)
HSLhsl(244, 50%, 40%)
HSVhsv(244, 66%, 60%)
CMYKcmyk(62.5%, 66.4%, 0%, 40.4%)
CIE-LABlab(28.12, 33.73, -54.51)
CIE-LCHlch(28.12, 64.10, 301.74°)
OKLaboklab(39.45% 0.0245 -0.157)
OKLCHoklch(39.45% 0.159 278.9)
XYZxyz(8.5369, 5.5039, 30.3122)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393398 #929833
analogous
#336098 #393398 #6B3398
triadic
#393398 #983933 #339839
tetradic
#393398 #983360 #929833 #33986B
square
#393398 #983360 #929833 #33986B
split-complementary
#393398 #986B33 #609833
monochromatic
#17143C #28246A #393398 #4E47C1 #7A75D1

Accessibility & contrast

On white

10.00
#393398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#393398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393398
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393398#FFFFFF#000000##FFFFFF
##3933981.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #393398;
/* rgb */ color: rgb(57, 51, 152);
/* oklch */ color: oklch(39.4% 0.159 278.9);
Tailwind
colors: {
  custom: {
    50: '#7b6bb7',
    500: '#393398',
    950: '#000000',
  },
}
SCSS
$custom: #393398;
$custom-light: #7b6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#393398",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 243.564,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39448,
    "c": 0.15893,
    "h": 278.9
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#393398
secondary
#B4B96E
accent
#D94FD1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393398

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

Preview Lab → · Contrast checker → · Palette generator →

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