#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 |
|---|---|
| RGB | rgb(84, 118, 241) |
| HSL | hsl(227, 85%, 64%) |
| HSV | hsv(227, 65%, 95%) |
| CMYK | cmyk(65.1%, 51%, 0%, 5.5%) |
| CIE-LAB | lab(53.16, 26.51, -65.58) |
| CIE-LCH | lch(53.16, 70.74, 292.01°) |
| OKLab | oklab(60.6% -0.0046 -0.1882) |
| OKLCH | oklch(60.6% 0.188 268.6) |
| XYZ | xyz(26.0063, 21.1901, 85.9216) |
| Luminance | 0.2119 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.10
Cornflower
#6A79F7
ΔE00 3.45
Cornflower Blue
#5170D7
ΔE00 3.95
Clear Blue
#247AFD
ΔE00 4.68
Deep Sky Blue
#0D75F8
ΔE00 5.08
Royal Blue
#4169E1
ΔE00 5.32
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 |
|---|---|---|---|---|
| ##5476F1 | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.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