#5476E2#5476E2

#5476E2 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.6% C 0.168 H 267.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5476E2
RGBrgb(84, 118, 226)
HSLhsl(226, 71%, 61%)
HSVhsv(226, 63%, 89%)
CMYKcmyk(62.8%, 47.8%, 0%, 11.4%)
CIE-LABlab(52.21, 21.40, -58.72)
CIE-LCHlch(52.21, 62.49, 290.02°)
OKLaboklab(59.57% -0.0062 -0.168)
OKLCHoklch(59.57% 0.168 267.9)
XYZxyz(23.8574, 20.3306, 74.6037)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5476E2 #E2C054
analogous
#54BDE2 #5476E2 #7954E2
triadic
#5476E2 #E25476 #76E254
tetradic
#5476E2 #E254BD #E2C054 #54E279
square
#5476E2 #E254BD #E2C054 #54E279
split-complementary
#5476E2 #E27954 #BDE254
monochromatic
#1B3BA0 #244ED5 #5476E2 #88A0EB #BDCAF4

Accessibility & contrast

On white

4.14
#5476E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5476E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5476E2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5476E2#FFFFFF#000000##000000
##5476E21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E83E6
Deuteranopia (green-blind)
#2176E0
Tritanopia (blue-blind)
#008FA1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5476e2;
/* rgb */ color: rgb(84, 118, 226);
/* oklch */ color: oklch(59.6% 0.168 267.9);
Tailwind
colors: {
  custom: {
    50: '#919dec',
    500: '#5476e2',
    950: '#000000',
  },
}
SCSS
$custom: #5476e2;
$custom-light: #919dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5476e2",
  "rgb": {
    "r": 84,
    "g": 118,
    "b": 226
  },
  "hsl": {
    "h": 225.634,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59574,
    "c": 0.16815,
    "h": 267.9
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#5476E2
secondary
#E4D7AE
accent
#A512D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5476E2

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

Preview Lab → · Contrast checker → · Palette generator →

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