#5169C8#5169C8
#5169C8 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.1% C 0.149 H 270.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5169C8 |
|---|---|
| RGB | rgb(81, 105, 200) |
| HSL | hsl(228, 52%, 55%) |
| HSV | hsv(228, 60%, 78%) |
| CMYK | cmyk(59.5%, 47.5%, 0%, 21.6%) |
| CIE-LAB | lab(47.00, 20.11, -52.31) |
| CIE-LCH | lch(47.00, 56.04, 291.03°) |
| OKLab | oklab(55.05% 0.0006 -0.1494) |
| OKLCH | oklch(55.05% 0.149 270.2) |
| XYZ | xyz(18.8668, 16.0211, 56.7305) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.18
Royal Blue
#4169E1
ΔE00 3.41
French Blue
#436BAD
ΔE00 4.98
Dark Periwinkle
#665FD1
ΔE00 6.01
Azul
#1D5DEC
ΔE00 6.16
Warm Blue
#4B57DB
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5169C8 #C8B051
analogous
#51A5C8 #5169C8 #7451C8
triadic
#5169C8 #C85169 #69C851
tetradic
#5169C8 #C851A5 #C8B051 #51C874
square
#5169C8 #C851A5 #C8B051 #51C874
split-complementary
#5169C8 #C87451 #A5C851
monochromatic
#263779 #354CA7 #5169C8 #8091D7 #AEB9E5
Accessibility & contrast
On white
4.99
#5169C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#5169C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5169C8
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5169C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5169C8 | 1.00 | 4.99 | 4.20 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A75CB
Deuteranopia (green-blind)
#276AC6
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5169c8; /* rgb */ color: rgb(81, 105, 200); /* oklch */ color: oklch(55.1% 0.149 270.2);
Tailwind
colors: {
custom: {
50: '#8c93d9',
500: '#5169c8',
950: '#000000',
},
}SCSS
$custom: #5169c8; $custom-light: #8c93d9; $custom-dark: #000000;
JSON
{
"hex": "#5169c8",
"rgb": {
"r": 81,
"g": 105,
"b": 200
},
"hsl": {
"h": 227.899,
"s": 51.965,
"l": 55.098
},
"oklch": {
"l": 0.55053,
"c": 0.14942,
"h": 270.2
},
"luminance": 0.16023
}Semantic roles & 50–950 ramp
primary
#5169C8
secondary
#D3C9A1
accent
#BF4CDB
background
#F9F9FD
surface
#F1F1FA
border
#CBCBD3
text
#0D0D15
muted
#7E7E83