#5476F1#5476F1

#5476F1 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.188 H 268.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5476F1
RGBrgb(84, 118, 241)
HSLhsl(227, 85%, 64%)
HSVhsv(227, 65%, 95%)
CMYKcmyk(65.1%, 51%, 0%, 5.5%)
CIE-LABlab(53.16, 26.51, -65.58)
CIE-LCHlch(53.16, 70.74, 292.01°)
OKLaboklab(60.6% -0.0046 -0.1882)
OKLCHoklch(60.6% 0.188 268.6)
XYZxyz(26.0063, 21.1901, 85.9216)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5476F1 #F1CF54
analogous
#54C5F1 #5476F1 #8054F1
triadic
#5476F1 #F15476 #76F154
tetradic
#5476F1 #F154C5 #F1CF54 #54F180
square
#5476F1 #F154C5 #F1CF54 #54F180
split-complementary
#5476F1 #F18054 #C5F154
monochromatic
#0F35BB #1B49EC #5476F1 #8DA3F6 #C5D1FA

Accessibility & contrast

On white

4.01
#5476F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5476F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5476F1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5476F1#FFFFFF#000000##000000
##5476F11.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B86F5
Deuteranopia (green-blind)
#0078EE
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5476f1;
/* rgb */ color: rgb(84, 118, 241);
/* oklch */ color: oklch(60.6% 0.188 268.6);
Tailwind
colors: {
  custom: {
    50: '#949df6',
    500: '#5476f1',
    950: '#000000',
  },
}
SCSS
$custom: #5476f1;
$custom-light: #949df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5476f1",
  "rgb": {
    "r": 84,
    "g": 118,
    "b": 241
  },
  "hsl": {
    "h": 227.006,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60597,
    "c": 0.1883,
    "h": 268.6
  },
  "luminance": 0.21193
}

Semantic roles & 50–950 ramp

primary
#5476F1
secondary
#ECE0B5
accent
#B104E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5476F1

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

Preview Lab → · Contrast checker → · Palette generator →

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