#393FA3#393FA3

#393FA3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.159 H 274.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#393FA3
RGBrgb(57, 63, 163)
HSLhsl(237, 48%, 43%)
HSVhsv(237, 65%, 64%)
CMYKcmyk(65%, 61.3%, 0%, 36.1%)
CIE-LABlab(31.96, 29.89, -54.93)
CIE-LCHlch(31.96, 62.53, 298.55°)
OKLaboklab(42.55% 0.0132 -0.1582)
OKLCHoklch(42.55% 0.159 274.8)
XYZxyz(10.0735, 7.0684, 35.4767)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FA3 #A39D39
analogous
#3974A3 #393FA3 #6839A3
triadic
#393FA3 #A3393F #3FA339
tetradic
#393FA3 #A33974 #A39D39 #39A368
square
#393FA3 #A33974 #A39D39 #39A368
split-complementary
#393FA3 #A36839 #74A339
monochromatic
#191C48 #292D76 #393FA3 #555CC4 #8387D4

Accessibility & contrast

On white

8.70
#393FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#393FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FA3
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FA3#FFFFFF#000000##FFFFFF
##393FA31.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393fa3;
/* rgb */ color: rgb(57, 63, 163);
/* oklch */ color: oklch(42.5% 0.159 274.8);
Tailwind
colors: {
  custom: {
    50: '#7c74bf',
    500: '#393fa3',
    950: '#000000',
  },
}
SCSS
$custom: #393fa3;
$custom-light: #7c74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#393fa3",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 236.604,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42546,
    "c": 0.15873,
    "h": 274.8
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#393FA3
secondary
#BDBA7A
accent
#D050D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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