#393EA4#393EA4

#393EA4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.161 H 275.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#393EA4
RGBrgb(57, 62, 164)
HSLhsl(237, 48%, 43%)
HSVhsv(237, 65%, 64%)
CMYKcmyk(65.2%, 62.2%, 0%, 35.7%)
CIE-LABlab(31.79, 30.88, -55.80)
CIE-LCHlch(31.79, 63.78, 298.96°)
OKLaboklab(42.45% 0.0141 -0.1608)
OKLCHoklch(42.45% 0.161 275)
XYZxyz(10.1086, 6.9946, 35.9321)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EA4 #A49F39
analogous
#3973A4 #393EA4 #6939A4
triadic
#393EA4 #A4393E #3EA439
tetradic
#393EA4 #A43973 #A49F39 #39A469
square
#393EA4 #A43973 #A49F39 #39A469
split-complementary
#393EA4 #A46939 #73A439
monochromatic
#191C49 #292D77 #393EA4 #565BC4 #8387D4

Accessibility & contrast

On white

8.75
#393EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#393EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EA4
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EA4#FFFFFF#000000##FFFFFF
##393EA41.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393ea4;
/* rgb */ color: rgb(57, 62, 164);
/* oklch */ color: oklch(42.4% 0.161 275.0);
Tailwind
colors: {
  custom: {
    50: '#7c73c0',
    500: '#393ea4',
    950: '#000000',
  },
}
SCSS
$custom: #393ea4;
$custom-light: #7c73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#393ea4",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 237.196,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42448,
    "c": 0.16137,
    "h": 275
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#393EA4
secondary
#BEBB7B
accent
#D250D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #393EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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