#5471E4#5471E4

#5471E4 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.7% C 0.177 H 269.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5471E4
RGBrgb(84, 113, 228)
HSLhsl(228, 73%, 61%)
HSVhsv(228, 63%, 89%)
CMYKcmyk(63.2%, 50.4%, 0%, 10.6%)
CIE-LABlab(51.03, 25.16, -61.74)
CIE-LCHlch(51.03, 66.67, 292.18°)
OKLaboklab(58.72% -0.0012 -0.177)
OKLCHoklch(58.72% 0.177 269.6)
XYZxyz(23.5601, 19.2944, 75.8664)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5471E4 #E4C754
analogous
#54B9E4 #5471E4 #7F54E4
triadic
#5471E4 #E45471 #71E454
tetradic
#5471E4 #E454B9 #E4C754 #54E47F
square
#5471E4 #E454B9 #E4C754 #54E47F
split-complementary
#5471E4 #E47F54 #B9E454
monochromatic
#1A36A4 #2247D9 #5471E4 #899DEC #BEC9F5

Accessibility & contrast

On white

4.32
#5471E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5471E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5471E4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5471E4#FFFFFF#000000##000000
##5471E41.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F80E8
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5471e4;
/* rgb */ color: rgb(84, 113, 228);
/* oklch */ color: oklch(58.7% 0.177 269.6);
Tailwind
colors: {
  custom: {
    50: '#9299ed',
    500: '#5471e4',
    950: '#000000',
  },
}
SCSS
$custom: #5471e4;
$custom-light: #9299ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5471e4",
  "rgb": {
    "r": 84,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 227.917,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58719,
    "c": 0.17699,
    "h": 269.6
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#5471E4
secondary
#E5DAAF
accent
#AD11D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5471E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5471E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva