#5471EA#5471EA

#5471EA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.1% C 0.185 H 269.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5471EA
RGBrgb(84, 113, 234)
HSLhsl(228, 78%, 62%)
HSVhsv(228, 64%, 92%)
CMYKcmyk(64.1%, 51.7%, 0%, 8.2%)
CIE-LABlab(51.42, 27.20, -64.48)
CIE-LCHlch(51.42, 69.98, 292.88°)
OKLaboklab(59.14% -0.0007 -0.185)
OKLCHoklch(59.14% 0.185 269.8)
XYZxyz(24.4075, 19.6334, 80.3293)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5471EA #EACD54
analogous
#54BCEA #5471EA #8254EA
triadic
#5471EA #EA5471 #71EA54
tetradic
#5471EA #EA54BC #EACD54 #54EA82
square
#5471EA #EA54BC #EACD54 #54EA82
split-complementary
#5471EA #EA8254 #BCEA54
monochromatic
#1533AE #1D44E3 #5471EA #8B9EF1 #C1CCF7

Accessibility & contrast

On white

4.26
#5471EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5471EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5471EA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5471EA#FFFFFF#000000##000000
##5471EA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EE
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5471ea;
/* rgb */ color: rgb(84, 113, 234);
/* oklch */ color: oklch(59.1% 0.185 269.8);
Tailwind
colors: {
  custom: {
    50: '#9399f1',
    500: '#5471ea',
    950: '#000000',
  },
}
SCSS
$custom: #5471ea;
$custom-light: #9399f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5471ea",
  "rgb": {
    "r": 84,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 228.4,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59138,
    "c": 0.18505,
    "h": 269.8
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

primary
#5471EA
secondary
#E8DEB2
accent
#B20BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5471EA

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

Preview Lab → · Contrast checker → · Palette generator →

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