#5472E2#5472E2

#5472E2 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.173 H 269.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5472E2
RGBrgb(84, 114, 226)
HSLhsl(227, 71%, 61%)
HSVhsv(227, 63%, 89%)
CMYKcmyk(62.8%, 49.6%, 0%, 11.4%)
CIE-LABlab(51.16, 23.87, -60.40)
CIE-LCHlch(51.16, 64.95, 291.56°)
OKLaboklab(58.78% -0.0024 -0.173)
OKLCHoklch(58.78% 0.173 269.2)
XYZxyz(23.3963, 19.4084, 74.4500)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5472E2 #E2C454
analogous
#54B9E2 #5472E2 #7D54E2
triadic
#5472E2 #E25472 #72E254
tetradic
#5472E2 #E254B9 #E2C454 #54E27D
square
#5472E2 #E254B9 #E2C454 #54E27D
split-complementary
#5472E2 #E27D54 #B9E254
monochromatic
#1B37A0 #2449D5 #5472E2 #889DEB #BDC8F4

Accessibility & contrast

On white

4.30
#5472E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5472E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5472E2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5472E2#FFFFFF#000000##000000
##5472E21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3481E6
Deuteranopia (green-blind)
#0D74E0
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5472e2;
/* rgb */ color: rgb(84, 114, 226);
/* oklch */ color: oklch(58.8% 0.173 269.2);
Tailwind
colors: {
  custom: {
    50: '#919aec',
    500: '#5472e2',
    950: '#000000',
  },
}
SCSS
$custom: #5472e2;
$custom-light: #919aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5472e2",
  "rgb": {
    "r": 84,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 227.324,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58778,
    "c": 0.17306,
    "h": 269.2
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#5472E2
secondary
#E4D8AE
accent
#AA12D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5472E2

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

Preview Lab → · Contrast checker → · Palette generator →

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