#5476F5#5476F5

#5476F5 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.9% C 0.194 H 268.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5476F5
RGBrgb(84, 118, 245)
HSLhsl(227, 89%, 65%)
HSVhsv(227, 66%, 96%)
CMYKcmyk(65.7%, 51.8%, 0%, 3.9%)
CIE-LABlab(53.42, 27.88, -67.38)
CIE-LCHlch(53.42, 72.92, 292.47°)
OKLaboklab(60.88% -0.0042 -0.1935)
OKLCHoklch(60.88% 0.194 268.7)
XYZxyz(26.6104, 21.4318, 89.1029)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5476F5 #F5D354
analogous
#54C7F5 #5476F5 #8354F5
triadic
#5476F5 #F55476 #76F554
tetradic
#5476F5 #F554C7 #F5D354 #54F583
square
#5476F5 #F554C7 #F5D354 #54F583
split-complementary
#5476F5 #F58354 #C7F554
monochromatic
#0B32C3 #1A48F2 #5476F5 #8EA4F8 #C8D3FC

Accessibility & contrast

On white

3.97
#5476F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5476F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5476F5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5476F5#FFFFFF#000000##000000
##5476F51.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2387F9
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#0094AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5476f5;
/* rgb */ color: rgb(84, 118, 245);
/* oklch */ color: oklch(60.9% 0.194 268.7);
Tailwind
colors: {
  custom: {
    50: '#949df9',
    500: '#5476f5',
    950: '#000000',
  },
}
SCSS
$custom: #5476f5;
$custom-light: #949df9;
$custom-dark: #000000;
JSON
{
  "hex": "#5476f5",
  "rgb": {
    "r": 84,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 227.329,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60879,
    "c": 0.19359,
    "h": 268.7
  },
  "luminance": 0.21434
}

Semantic roles & 50–950 ramp

primary
#5476F5
secondary
#EEE2B7
accent
#B500E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5476F5

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

Preview Lab → · Contrast checker → · Palette generator →

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