#393AA4#393AA4

#393AA4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.166 H 276.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#393AA4
RGBrgb(57, 58, 164)
HSLhsl(239, 48%, 43%)
HSVhsv(239, 65%, 64%)
CMYKcmyk(65.2%, 64.6%, 0%, 35.7%)
CIE-LABlab(30.82, 33.43, -57.40)
CIE-LCHlch(30.82, 66.42, 300.22°)
OKLaboklab(41.73% 0.0175 -0.1655)
OKLCHoklch(41.73% 0.166 276)
XYZxyz(9.8990, 6.5755, 35.8623)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AA4 #A4A339
analogous
#396FA4 #393AA4 #6D39A4
triadic
#393AA4 #A4393A #3AA439
tetradic
#393AA4 #A4396F #A4A339 #39A46D
square
#393AA4 #A4396F #A4A339 #39A46D
split-complementary
#393AA4 #A46D39 #6FA439
monochromatic
#191A49 #292A77 #393AA4 #5657C4 #8384D4

Accessibility & contrast

On white

9.07
#393AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#393AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AA4
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AA4#FFFFFF#000000##FFFFFF
##393AA41.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #393aa4;
/* rgb */ color: rgb(57, 58, 164);
/* oklch */ color: oklch(41.7% 0.166 276.0);
Tailwind
colors: {
  custom: {
    50: '#7c70c0',
    500: '#393aa4',
    950: '#000000',
  },
}
SCSS
$custom: #393aa4;
$custom-light: #7c70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#393aa4",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 239.439,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41734,
    "c": 0.16638,
    "h": 276
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#393AA4
secondary
#BEBD7B
accent
#D750D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #393AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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