#5474DE#5474DE

#5474DE is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.9% C 0.165 H 268.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5474DE
RGBrgb(84, 116, 222)
HSLhsl(226, 68%, 60%)
HSVhsv(226, 62%, 87%)
CMYKcmyk(62.2%, 47.7%, 0%, 12.9%)
CIE-LABlab(51.44, 21.27, -57.71)
CIE-LCHlch(51.44, 61.50, 290.24°)
OKLaboklab(58.91% -0.0047 -0.1651)
OKLCHoklch(58.91% 0.165 268.4)
XYZxyz(23.0819, 19.6475, 71.6690)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474DE #DEBE54
analogous
#54B9DE #5474DE #7954DE
triadic
#5474DE #DE5474 #74DE54
tetradic
#5474DE #DE54B9 #DEBE54 #54DE79
square
#5474DE #DE54B9 #DEBE54 #54DE79
split-complementary
#5474DE #DE7954 #B9DE54
monochromatic
#1E3A9A #284ECD #5474DE #879EE8 #BBC7F2

Accessibility & contrast

On white

4.26
#5474DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5474DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474DE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474DE#FFFFFF#000000##000000
##5474DE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E81E2
Deuteranopia (green-blind)
#2275DC
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5474de;
/* rgb */ color: rgb(84, 116, 222);
/* oklch */ color: oklch(58.9% 0.165 268.4);
Tailwind
colors: {
  custom: {
    50: '#909be9',
    500: '#5474de',
    950: '#000000',
  },
}
SCSS
$custom: #5474de;
$custom-light: #909be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5474de",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 222
  },
  "hsl": {
    "h": 226.087,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.58907,
    "c": 0.16516,
    "h": 268.4
  },
  "luminance": 0.1965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5474DE

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

Preview Lab → · Contrast checker → · Palette generator →

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