#5472EA#5472EA

#5472EA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.3% C 0.184 H 269.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5472EA
RGBrgb(84, 114, 234)
HSLhsl(228, 78%, 62%)
HSVhsv(228, 64%, 92%)
CMYKcmyk(64.1%, 51.3%, 0%, 8.2%)
CIE-LABlab(51.68, 26.59, -64.06)
CIE-LCHlch(51.68, 69.36, 292.54°)
OKLaboklab(59.33% -0.0016 -0.1838)
OKLCHoklch(59.33% 0.184 269.5)
XYZxyz(24.5197, 19.8577, 80.3667)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5472EA #EACC54
analogous
#54BDEA #5472EA #8154EA
triadic
#5472EA #EA5472 #72EA54
tetradic
#5472EA #EA54BD #EACC54 #54EA81
square
#5472EA #EA54BD #EACC54 #54EA81
split-complementary
#5472EA #EA8154 #BDEA54
monochromatic
#1534AE #1D45E3 #5472EA #8B9FF1 #C1CCF7

Accessibility & contrast

On white

4.22
#5472EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5472EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5472EA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5472EA#FFFFFF#000000##000000
##5472EA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982EE
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5472ea;
/* rgb */ color: rgb(84, 114, 234);
/* oklch */ color: oklch(59.3% 0.184 269.5);
Tailwind
colors: {
  custom: {
    50: '#939af1',
    500: '#5472ea',
    950: '#000000',
  },
}
SCSS
$custom: #5472ea;
$custom-light: #939af1;
$custom-dark: #000000;
JSON
{
  "hex": "#5472ea",
  "rgb": {
    "r": 84,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 228,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59332,
    "c": 0.18383,
    "h": 269.5
  },
  "luminance": 0.1986
}

Semantic roles & 50–950 ramp

primary
#5472EA
secondary
#E8DDB2
accent
#B10BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5472EA

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

Preview Lab → · Contrast checker → · Palette generator →

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