#393397#393397

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

Color values

HEX#393397
RGBrgb(57, 51, 151)
HSLhsl(244, 50%, 40%)
HSVhsv(244, 66%, 59%)
CMYKcmyk(62.3%, 66.2%, 0%, 40.8%)
CIE-LABlab(28.04, 33.39, -54.05)
CIE-LCHlch(28.04, 63.53, 301.71°)
OKLaboklab(39.36% 0.0246 -0.1557)
OKLCHoklch(39.36% 0.158 279)
XYZxyz(8.4553, 5.4712, 29.8826)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393397 #919733
analogous
#335F97 #393397 #6B3397
triadic
#393397 #973933 #339739
tetradic
#393397 #97335F #919733 #33976B
square
#393397 #97335F #919733 #33976B
split-complementary
#393397 #976B33 #5F9733
monochromatic
#16143C #282469 #393397 #4E47C1 #7A74D0

Accessibility & contrast

On white

10.03
#393397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393397
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393397#FFFFFF#000000##FFFFFF
##3933971.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #393397;
/* rgb */ color: rgb(57, 51, 151);
/* oklch */ color: oklch(39.4% 0.158 279.0);
Tailwind
colors: {
  custom: {
    50: '#7a6bb6',
    500: '#393397',
    950: '#000000',
  },
}
SCSS
$custom: #393397;
$custom-light: #7a6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#393397",
  "rgb": {
    "r": 57,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 243.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39357,
    "c": 0.15759,
    "h": 279
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393397

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

Preview Lab → · Contrast checker → · Palette generator →

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