#5474BF#5474BF
#5474BF is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.0% C 0.122 H 265.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5474BF |
|---|---|
| RGB | rgb(84, 116, 191) |
| HSL | hsl(222, 46%, 54%) |
| HSV | hsv(222, 56%, 75%) |
| CMYK | cmyk(56%, 39.3%, 0%, 25.1%) |
| CIE-LAB | lab(49.66, 10.88, -42.89) |
| CIE-LCH | lch(49.66, 44.24, 284.23°) |
| OKLab | oklab(56.97% -0.01 -0.1216) |
| OKLCH | oklch(56.97% 0.122 265.3) |
| XYZ | xyz(19.3023, 18.1357, 51.7635) |
| Luminance | 0.1814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.33
French Blue
#436BAD
ΔE00 4.62
Royal Blue
#4169E1
ΔE00 5.45
Windows Blue
#3778BF
ΔE00 5.62
Medium Blue
#2C6FBB
ΔE00 5.94
Flat Blue
#3C73A8
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5474BF #BF9F54
analogous
#54AABF #5474BF #6A54BF
triadic
#5474BF #BF5474 #74BF54
tetradic
#5474BF #BF54AA #BF9F54 #54BF6A
square
#5474BF #BF54AA #BF9F54 #54BF6A
split-complementary
#5474BF #BF6A54 #AABF54
monochromatic
#2A3E6F #3A579C #5474BF #8198D0 #ADBCE0
Accessibility & contrast
On white
4.54
#5474BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#5474BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5474BF
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5474BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5474BF | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#557BC2
Deuteranopia (green-blind)
#4872BD
Tritanopia (blue-blind)
#0F8490
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #5474bf; /* rgb */ color: rgb(84, 116, 191); /* oklch */ color: oklch(57.0% 0.122 265.3);
Tailwind
colors: {
custom: {
50: '#8c9bd3',
500: '#5474bf',
950: '#000000',
},
}SCSS
$custom: #5474bf; $custom-light: #8c9bd3; $custom-dark: #000000;
JSON
{
"hex": "#5474bf",
"rgb": {
"r": 84,
"g": 116,
"b": 191
},
"hsl": {
"h": 222.056,
"s": 45.532,
"l": 53.922
},
"oklch": {
"l": 0.5697,
"c": 0.12201,
"h": 265.3
},
"luminance": 0.18137
}Semantic roles & 50–950 ramp
primary
#5474BF
secondary
#CEC1A1
accent
#AE53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0D0E14
muted
#7D7E82