#5476B2#5476B2

#5476B2 is a mid, moderate blue. Relative luminance 0.181; OKLCH L 56.7% C 0.101 H 261.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5476B2
RGBrgb(84, 118, 178)
HSLhsl(218, 38%, 51%)
HSVhsv(218, 53%, 70%)
CMYKcmyk(52.8%, 33.7%, 0%, 30.2%)
CIE-LABlab(49.56, 5.42, -35.54)
CIE-LCHlch(49.56, 35.95, 278.68°)
OKLaboklab(56.68% -0.0155 -0.1001)
OKLCHoklch(56.68% 0.101 261.2)
XYZxyz(18.1678, 18.0547, 44.6384)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5476B2 #B29054
analogous
#54A5B2 #5476B2 #6154B2
triadic
#5476B2 #B25476 #76B254
tetradic
#5476B2 #B254A5 #B29054 #54B261
square
#5476B2 #B254A5 #B29054 #54B261
split-complementary
#5476B2 #B26154 #A5B254
monochromatic
#2B3E60 #3E5A8A #5476B2 #7E98C5 #A8BAD8

Accessibility & contrast

On white

4.55
#5476B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5476B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5476B2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5476B2#FFFFFF#000000##000000
##5476B21.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB5
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#24838C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5476b2;
/* rgb */ color: rgb(84, 118, 178);
/* oklch */ color: oklch(56.7% 0.101 261.2);
Tailwind
colors: {
  custom: {
    50: '#8a9dc9',
    500: '#5476b2',
    950: '#000000',
  },
}
SCSS
$custom: #5476b2;
$custom-light: #8a9dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5476b2",
  "rgb": {
    "r": 84,
    "g": 118,
    "b": 178
  },
  "hsl": {
    "h": 218.298,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.10133,
    "h": 261.2
  },
  "luminance": 0.18056
}

Semantic roles & 50–950 ramp

primary
#5476B2
secondary
#C6B79C
accent
#A45ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5476B2

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

Preview Lab → · Contrast checker → · Palette generator →

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