#5474DD#5474DD

#5474DD is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.8% C 0.164 H 268.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5474DD
RGBrgb(84, 116, 221)
HSLhsl(226, 67%, 60%)
HSVhsv(226, 62%, 87%)
CMYKcmyk(62%, 47.5%, 0%, 13.3%)
CIE-LABlab(51.38, 20.93, -57.24)
CIE-LCHlch(51.38, 60.95, 290.09°)
OKLaboklab(58.84% -0.0049 -0.1637)
OKLCHoklch(58.84% 0.164 268.3)
XYZxyz(22.9483, 19.5941, 70.9653)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474DD #DDBD54
analogous
#54B9DD #5474DD #7854DD
triadic
#5474DD #DD5474 #74DD54
tetradic
#5474DD #DD54B9 #DDBD54 #54DD78
square
#5474DD #DD54B9 #DDBD54 #54DD78
split-complementary
#5474DD #DD7854 #B9DD54
monochromatic
#1E3B98 #284ECB #5474DD #879DE7 #BAC7F1

Accessibility & contrast

On white

4.27
#5474DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5474DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474DD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474DD#FFFFFF#000000##000000
##5474DD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F81E1
Deuteranopia (green-blind)
#2475DB
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5474dd;
/* rgb */ color: rgb(84, 116, 221);
/* oklch */ color: oklch(58.8% 0.164 268.3);
Tailwind
colors: {
  custom: {
    50: '#909be8',
    500: '#5474dd',
    950: '#000000',
  },
}
SCSS
$custom: #5474dd;
$custom-light: #909be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5474dd",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 225.985,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5884,
    "c": 0.16379,
    "h": 268.3
  },
  "luminance": 0.19596
}

Semantic roles & 50–950 ramp

primary
#5474DD
secondary
#E1D5AC
accent
#C23EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5474DD

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

Preview Lab → · Contrast checker → · Palette generator →

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