#5474E2#5474E2

#5474E2 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.2% C 0.171 H 268.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5474E2
RGBrgb(84, 116, 226)
HSLhsl(226, 71%, 61%)
HSVhsv(226, 63%, 89%)
CMYKcmyk(62.8%, 48.7%, 0%, 11.4%)
CIE-LABlab(51.68, 22.63, -59.56)
CIE-LCHlch(51.68, 63.72, 290.81°)
OKLaboklab(59.17% -0.0043 -0.1705)
OKLCHoklch(59.17% 0.171 268.6)
XYZxyz(23.6243, 19.8645, 74.5260)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474E2 #E2C254
analogous
#54BBE2 #5474E2 #7B54E2
triadic
#5474E2 #E25474 #74E254
tetradic
#5474E2 #E254BB #E2C254 #54E27B
square
#5474E2 #E254BB #E2C254 #54E27B
split-complementary
#5474E2 #E27B54 #BBE254
monochromatic
#1B39A0 #244CD5 #5474E2 #889FEB #BDC9F4

Accessibility & contrast

On white

4.22
#5474E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5474E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474E2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474E2#FFFFFF#000000##000000
##5474E21.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)
#3982E6
Deuteranopia (green-blind)
#1975E0
Tritanopia (blue-blind)
#008DA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5474e2;
/* rgb */ color: rgb(84, 116, 226);
/* oklch */ color: oklch(59.2% 0.171 268.6);
Tailwind
colors: {
  custom: {
    50: '#919bec',
    500: '#5474e2',
    950: '#000000',
  },
}
SCSS
$custom: #5474e2;
$custom-light: #919bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5474e2",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 226.479,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.1706,
    "h": 268.6
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5474E2

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

Preview Lab → · Contrast checker → · Palette generator →

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