#5474F7#5474F7
#5474F7 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.6% C 0.199 H 269.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5474F7 |
|---|---|
| RGB | rgb(84, 116, 247) |
| HSL | hsl(228, 91%, 65%) |
| HSV | hsv(228, 66%, 97%) |
| CMYK | cmyk(66%, 53%, 0%, 3.1%) |
| CIE-LAB | lab(53.05, 29.78, -69.10) |
| CIE-LCH | lch(53.05, 75.24, 293.32°) |
| OKLab | oklab(60.64% -0.0024 -0.1986) |
| OKLCH | oklch(60.64% 0.199 269.3) |
| XYZ | xyz(26.6843, 21.0885, 90.6419) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.21
Lightish Blue
#3D7AFD
ΔE00 3.59
Cornflower Blue
#5170D7
ΔE00 4.38
Clear Blue
#247AFD
ΔE00 5.21
Royal Blue
#4169E1
ΔE00 5.33
Deep Sky Blue
#0D75F8
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5474F7 #F7D754
analogous
#54C5F7 #5474F7 #8654F7
triadic
#5474F7 #F75474 #74F754
tetradic
#5474F7 #F754C5 #F7D754 #54F786
square
#5474F7 #F754C5 #F7D754 #54F786
split-complementary
#5474F7 #F78654 #C5F754
monochromatic
#092FC7 #1A44F4 #5474F7 #8EA4FA #C9D3FC
Accessibility & contrast
On white
4.02
#5474F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#5474F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5474F7
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5474F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5474F7 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1486FC
Deuteranopia (green-blind)
#0078F4
Tritanopia (blue-blind)
#0093AA
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5474f7; /* rgb */ color: rgb(84, 116, 247); /* oklch */ color: oklch(60.6% 0.199 269.3);
Tailwind
colors: {
custom: {
50: '#959bfb',
500: '#5474f7',
950: '#000000',
},
}SCSS
$custom: #5474f7; $custom-light: #959bfb; $custom-dark: #000000;
JSON
{
"hex": "#5474f7",
"rgb": {
"r": 84,
"g": 116,
"b": 247
},
"hsl": {
"h": 228.221,
"s": 91.061,
"l": 64.902
},
"oklch": {
"l": 0.6064,
"c": 0.19862,
"h": 269.3
},
"luminance": 0.21091
}Semantic roles & 50–950 ramp
primary
#5474F7
secondary
#EFE4B8
accent
#B800E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85