#5474D8#5474D8

#5474D8 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.5% C 0.157 H 268.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5474D8
RGBrgb(84, 116, 216)
HSLhsl(225, 63%, 59%)
HSVhsv(225, 61%, 85%)
CMYKcmyk(61.1%, 46.3%, 0%, 15.3%)
CIE-LABlab(51.07, 19.24, -54.90)
CIE-LCHlch(51.07, 58.17, 289.31°)
OKLaboklab(58.51% -0.0055 -0.1568)
OKLCHoklch(58.51% 0.157 268)
XYZxyz(22.2920, 19.3316, 67.5090)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5474D8 #D8B854
analogous
#54B6D8 #5474D8 #7654D8
triadic
#5474D8 #D85474 #74D854
tetradic
#5474D8 #D854B6 #D8B854 #54D876
square
#5474D8 #D854B6 #D8B854 #54D876
split-complementary
#5474D8 #D87654 #B6D854
monochromatic
#213C91 #2C51C2 #5474D8 #869DE3 #B8C5EF

Accessibility & contrast

On white

4.32
#5474D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5474D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5474D8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5474D8#FFFFFF#000000##000000
##5474D81.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4380DC
Deuteranopia (green-blind)
#2D74D6
Tritanopia (blue-blind)
#008B9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5474d8;
/* rgb */ color: rgb(84, 116, 216);
/* oklch */ color: oklch(58.5% 0.157 268.0);
Tailwind
colors: {
  custom: {
    50: '#909be5',
    500: '#5474d8',
    950: '#000000',
  },
}
SCSS
$custom: #5474d8;
$custom-light: #909be5;
$custom-dark: #000000;
JSON
{
  "hex": "#5474d8",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 216
  },
  "hsl": {
    "h": 225.455,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58513,
    "c": 0.15694,
    "h": 268
  },
  "luminance": 0.19333
}

Semantic roles & 50–950 ramp

primary
#5474D8
secondary
#DED1AA
accent
#BE42E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5474D8

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

Preview Lab → · Contrast checker → · Palette generator →

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