#393CA3#393CA3

#393CA3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.163 H 275.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#393CA3
RGBrgb(57, 60, 163)
HSLhsl(238, 48%, 43%)
HSVhsv(238, 65%, 64%)
CMYKcmyk(65%, 63.2%, 0%, 36.1%)
CIE-LABlab(31.22, 31.82, -56.14)
CIE-LCHlch(31.22, 64.53, 299.54°)
OKLaboklab(42% 0.0158 -0.1618)
OKLCHoklch(42% 0.163 275.6)
XYZxyz(9.9119, 6.7451, 35.4228)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CA3 #A3A039
analogous
#3971A3 #393CA3 #6B39A3
triadic
#393CA3 #A3393C #3CA339
tetradic
#393CA3 #A33971 #A3A039 #39A36B
square
#393CA3 #A33971 #A3A039 #39A36B
split-complementary
#393CA3 #A36B39 #71A339
monochromatic
#191B48 #292B76 #393CA3 #5559C4 #8385D4

Accessibility & contrast

On white

8.94
#393CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#393CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CA3
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CA3#FFFFFF#000000##FFFFFF
##393CA31.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #393ca3;
/* rgb */ color: rgb(57, 60, 163);
/* oklch */ color: oklch(42.0% 0.163 275.6);
Tailwind
colors: {
  custom: {
    50: '#7c72bf',
    500: '#393ca3',
    950: '#000000',
  },
}
SCSS
$custom: #393ca3;
$custom-light: #7c72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#393ca3",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 238.302,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42,
    "c": 0.16253,
    "h": 275.6
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#393CA3
secondary
#BDBB7A
accent
#D450D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393CA3

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

Preview Lab → · Contrast checker → · Palette generator →

#393CA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva