#5471E5#5471E5

#5471E5 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.178 H 269.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5471E5
RGBrgb(84, 113, 229)
HSLhsl(228, 74%, 61%)
HSVhsv(228, 63%, 90%)
CMYKcmyk(63.3%, 50.7%, 0%, 10.2%)
CIE-LABlab(51.09, 25.50, -62.20)
CIE-LCHlch(51.09, 67.22, 292.30°)
OKLaboklab(58.79% -0.0011 -0.1783)
OKLCHoklch(58.79% 0.178 269.6)
XYZxyz(23.6993, 19.3501, 76.5996)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5471E5 #E5C854
analogous
#54BAE5 #5471E5 #8054E5
triadic
#5471E5 #E55471 #71E554
tetradic
#5471E5 #E554BA #E5C854 #54E580
square
#5471E5 #E554BA #E5C854 #54E580
split-complementary
#5471E5 #E58054 #BAE554
monochromatic
#1935A5 #2146DB #5471E5 #899DED #BEC9F5

Accessibility & contrast

On white

4.31
#5471E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5471E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5471E5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5471E5#FFFFFF#000000##000000
##5471E51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5471e5;
/* rgb */ color: rgb(84, 113, 229);
/* oklch */ color: oklch(58.8% 0.178 269.6);
Tailwind
colors: {
  custom: {
    50: '#9299ee',
    500: '#5471e5',
    950: '#000000',
  },
}
SCSS
$custom: #5471e5;
$custom-light: #9299ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5471e5",
  "rgb": {
    "r": 84,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 228,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.17834,
    "h": 269.6
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#5471E5
secondary
#E6DBAF
accent
#AE10D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5471E5

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

Preview Lab → · Contrast checker → · Palette generator →

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