#5476F7#5476F7

#5476F7 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.196 H 268.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5476F7
RGBrgb(84, 118, 247)
HSLhsl(227, 91%, 65%)
HSVhsv(227, 66%, 97%)
CMYKcmyk(66%, 52.2%, 0%, 3.1%)
CIE-LABlab(53.55, 28.56, -68.28)
CIE-LCHlch(53.55, 74.01, 292.70°)
OKLaboklab(61.02% -0.0041 -0.1962)
OKLCHoklch(61.02% 0.196 268.8)
XYZxyz(26.9173, 21.5545, 90.7196)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5476F7 #F7D554
analogous
#54C7F7 #5476F7 #8454F7
triadic
#5476F7 #F75476 #76F754
tetradic
#5476F7 #F754C7 #F7D554 #54F784
square
#5476F7 #F754C7 #F7D554 #54F784
split-complementary
#5476F7 #F78454 #C7F754
monochromatic
#0931C7 #1A47F4 #5476F7 #8EA5FA #C9D4FC

Accessibility & contrast

On white

3.95
#5476F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5476F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5476F7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5476F7#FFFFFF#000000##000000
##5476F71.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F88FC
Deuteranopia (green-blind)
#0079F4
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5476f7;
/* rgb */ color: rgb(84, 118, 247);
/* oklch */ color: oklch(61.0% 0.196 268.8);
Tailwind
colors: {
  custom: {
    50: '#959dfb',
    500: '#5476f7',
    950: '#000000',
  },
}
SCSS
$custom: #5476f7;
$custom-light: #959dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5476f7",
  "rgb": {
    "r": 84,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 227.485,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61021,
    "c": 0.19622,
    "h": 268.8
  },
  "luminance": 0.21557
}

Semantic roles & 50–950 ramp

primary
#5476F7
secondary
#EFE4B8
accent
#B600E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5476F7

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

Preview Lab → · Contrast checker → · Palette generator →

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