#5169CB#5169CB
#5169CB is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.3% C 0.154 H 270.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5169CB |
|---|---|
| RGB | rgb(81, 105, 203) |
| HSL | hsl(228, 54%, 56%) |
| HSV | hsv(228, 60%, 80%) |
| CMYK | cmyk(60.1%, 48.3%, 0%, 20.4%) |
| CIE-LAB | lab(47.19, 21.12, -53.74) |
| CIE-LCH | lch(47.19, 57.74, 291.46°) |
| OKLab | oklab(55.25% 0.0009 -0.1536) |
| OKLCH | oklch(55.25% 0.154 270.4) |
| XYZ | xyz(19.2208, 16.1627, 58.5952) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.95
Royal Blue
#4169E1
ΔE00 3.09
French Blue
#436BAD
ΔE00 5.28
Dark Periwinkle
#665FD1
ΔE00 5.86
Azul
#1D5DEC
ΔE00 5.94
Warm Blue
#4B57DB
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5169CB #CBB351
analogous
#51A6CB #5169CB #7651CB
triadic
#5169CB #CB5169 #69CB51
tetradic
#5169CB #CB51A6 #CBB351 #51CB76
square
#5169CB #CB51A6 #CBB351 #51CB76
split-complementary
#5169CB #CB7651 #A6CB51
monochromatic
#25367C #334BAC #5169CB #8092D9 #AFBAE7
Accessibility & contrast
On white
4.96
#5169CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#5169CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5169CB
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5169CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5169CB | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3876CF
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5169cb; /* rgb */ color: rgb(81, 105, 203); /* oklch */ color: oklch(55.3% 0.154 270.4);
Tailwind
colors: {
custom: {
50: '#8c93db',
500: '#5169cb',
950: '#000000',
},
}SCSS
$custom: #5169cb; $custom-light: #8c93db; $custom-dark: #000000;
JSON
{
"hex": "#5169cb",
"rgb": {
"r": 81,
"g": 105,
"b": 203
},
"hsl": {
"h": 228.197,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.55253,
"c": 0.15361,
"h": 270.4
},
"luminance": 0.16164
}Semantic roles & 50–950 ramp
primary
#5169CB
secondary
#D5CBA3
accent
#C04ADD
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83