#5169BF#5169BF
#5169BF is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.5% C 0.137 H 269.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5169BF |
|---|---|
| RGB | rgb(81, 105, 191) |
| HSL | hsl(227, 46%, 53%) |
| HSV | hsv(227, 58%, 75%) |
| CMYK | cmyk(57.6%, 45%, 0%, 25.1%) |
| CIE-LAB | lab(46.46, 17.08, -47.99) |
| CIE-LCH | lch(46.46, 50.93, 289.59°) |
| OKLab | oklab(54.47% -0.0007 -0.1367) |
| OKLCH | oklch(54.47% 0.137 269.7) |
| XYZ | xyz(17.8458, 15.6127, 51.3533) |
| Luminance | 0.1561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.02
French Blue
#436BAD
ΔE00 4.17
Royal Blue
#4169E1
ΔE00 4.46
Dark Periwinkle
#665FD1
ΔE00 6.61
Dusky Blue
#475F94
ΔE00 6.83
Denim
#1560BD
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5169BF #BFA751
analogous
#51A0BF #5169BF #7051BF
triadic
#5169BF #BF5169 #69BF51
tetradic
#5169BF #BF51A0 #BFA751 #51BF70
square
#5169BF #BF51A0 #BFA751 #51BF70
split-complementary
#5169BF #BF7051 #A0BF51
monochromatic
#28376D #394E9A #5169BF #7E90CF #AAB6E0
Accessibility & contrast
On white
5.09
#5169BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#5169BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5169BF
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5169BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5169BF | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#336ABD
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5169bf; /* rgb */ color: rgb(81, 105, 191); /* oklch */ color: oklch(54.5% 0.137 269.7);
Tailwind
colors: {
custom: {
50: '#8a93d3',
500: '#5169bf',
950: '#000000',
},
}SCSS
$custom: #5169bf; $custom-light: #8a93d3; $custom-dark: #000000;
JSON
{
"hex": "#5169bf",
"rgb": {
"r": 81,
"g": 105,
"b": 191
},
"hsl": {
"h": 226.909,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.54467,
"c": 0.13672,
"h": 269.7
},
"luminance": 0.15614
}Semantic roles & 50–950 ramp
primary
#5169BF
secondary
#CEC39E
accent
#B952D6
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83