#5472DA#5472DA

#5472DA is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.2% C 0.162 H 268.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5472DA
RGBrgb(84, 114, 218)
HSLhsl(227, 64%, 59%)
HSVhsv(227, 61%, 85%)
CMYKcmyk(61.5%, 47.7%, 0%, 14.5%)
CIE-LABlab(50.66, 21.15, -56.69)
CIE-LCHlch(50.66, 60.51, 290.46°)
OKLaboklab(58.24% -0.0033 -0.1621)
OKLCHoklch(58.24% 0.162 268.8)
XYZxyz(22.3241, 18.9795, 68.8030)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5472DA #DABC54
analogous
#54B5DA #5472DA #7954DA
triadic
#5472DA #DA5472 #72DA54
tetradic
#5472DA #DA54B5 #DABC54 #54DA79
square
#5472DA #DA54B5 #DABC54 #54DA79
split-complementary
#5472DA #DA7954 #B5DA54
monochromatic
#203A94 #2B4EC6 #5472DA #869BE5 #B9C5F0

Accessibility & contrast

On white

4.38
#5472DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5472DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5472DA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5472DA#FFFFFF#000000##000000
##5472DA1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDE
Deuteranopia (green-blind)
#2473D8
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5472da;
/* rgb */ color: rgb(84, 114, 218);
/* oklch */ color: oklch(58.2% 0.162 268.8);
Tailwind
colors: {
  custom: {
    50: '#909ae6',
    500: '#5472da',
    950: '#000000',
  },
}
SCSS
$custom: #5472da;
$custom-light: #909ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#5472da",
  "rgb": {
    "r": 84,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 226.567,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58239,
    "c": 0.16215,
    "h": 268.8
  },
  "luminance": 0.18981
}

Semantic roles & 50–950 ramp

primary
#5472DA
secondary
#DFD3AB
accent
#C240E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5472DA

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

Preview Lab → · Contrast checker → · Palette generator →

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