#5476E7#5476E7

#5476E7 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.9% C 0.175 H 268.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5476E7
RGBrgb(84, 118, 231)
HSLhsl(226, 75%, 62%)
HSVhsv(226, 64%, 91%)
CMYKcmyk(63.6%, 48.9%, 0%, 9.4%)
CIE-LABlab(52.52, 23.10, -61.02)
CIE-LCHlch(52.52, 65.25, 290.73°)
OKLaboklab(59.91% -0.0056 -0.1748)
OKLCHoklch(59.91% 0.175 268.2)
XYZxyz(24.5535, 20.6090, 78.2698)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5476E7 #E7C554
analogous
#54C0E7 #5476E7 #7B54E7
triadic
#5476E7 #E75476 #76E754
tetradic
#5476E7 #E754C0 #E7C554 #54E77B
square
#5476E7 #E754C0 #E7C554 #54E77B
split-complementary
#5476E7 #E77B54 #C0E754
monochromatic
#1839A9 #1F4BDF #5476E7 #8AA1EF #BFCCF6

Accessibility & contrast

On white

4.10
#5476E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5476E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5476E7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5476E7#FFFFFF#000000##000000
##5476E71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3984EB
Deuteranopia (green-blind)
#1377E5
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5476e7;
/* rgb */ color: rgb(84, 118, 231);
/* oklch */ color: oklch(59.9% 0.175 268.2);
Tailwind
colors: {
  custom: {
    50: '#929def',
    500: '#5476e7',
    950: '#000000',
  },
}
SCSS
$custom: #5476e7;
$custom-light: #929def;
$custom-dark: #000000;
JSON
{
  "hex": "#5476e7",
  "rgb": {
    "r": 84,
    "g": 118,
    "b": 231
  },
  "hsl": {
    "h": 226.122,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59909,
    "c": 0.17491,
    "h": 268.2
  },
  "luminance": 0.20611
}

Semantic roles & 50–950 ramp

primary
#5476E7
secondary
#E7DAB0
accent
#A90ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5476E7

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

Preview Lab → · Contrast checker → · Palette generator →

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