#5476D8#5476D8

#5476D8 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.9% C 0.154 H 267.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5476D8
RGBrgb(84, 118, 216)
HSLhsl(225, 63%, 59%)
HSVhsv(225, 61%, 85%)
CMYKcmyk(61.1%, 45.4%, 0%, 15.3%)
CIE-LABlab(51.61, 18.01, -54.04)
CIE-LCHlch(51.61, 56.96, 288.43°)
OKLaboklab(58.92% -0.0076 -0.1543)
OKLCHoklch(58.92% 0.154 267.2)
XYZxyz(22.5250, 19.7976, 67.5867)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5476D8 #D8B654
analogous
#54B8D8 #5476D8 #7454D8
triadic
#5476D8 #D85476 #76D854
tetradic
#5476D8 #D854B8 #D8B654 #54D874
square
#5476D8 #D854B8 #D8B654 #54D874
split-complementary
#5476D8 #D87454 #B8D854
monochromatic
#213E91 #2C53C2 #5476D8 #869EE3 #B8C6EF

Accessibility & contrast

On white

4.23
#5476D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5476D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5476D8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5476D8#FFFFFF#000000##000000
##5476D81.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4781DC
Deuteranopia (green-blind)
#3275D6
Tritanopia (blue-blind)
#008C9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5476d8;
/* rgb */ color: rgb(84, 118, 216);
/* oklch */ color: oklch(58.9% 0.154 267.2);
Tailwind
colors: {
  custom: {
    50: '#8f9de4',
    500: '#5476d8',
    950: '#000000',
  },
}
SCSS
$custom: #5476d8;
$custom-light: #8f9de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5476d8",
  "rgb": {
    "r": 84,
    "g": 118,
    "b": 216
  },
  "hsl": {
    "h": 224.545,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58921,
    "c": 0.15448,
    "h": 267.2
  },
  "luminance": 0.198
}

Semantic roles & 50–950 ramp

primary
#5476D8
secondary
#DED1AA
accent
#BC42E6
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #5476D8

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

Preview Lab → · Contrast checker → · Palette generator →

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