#5167CB#5167CB
#5167CB is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.9% C 0.156 H 271.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5167CB |
|---|---|
| RGB | rgb(81, 103, 203) |
| HSL | hsl(229, 54%, 56%) |
| HSV | hsv(229, 60%, 80%) |
| CMYK | cmyk(60.1%, 49.3%, 0%, 20.4%) |
| CIE-LAB | lab(46.66, 22.38, -54.59) |
| CIE-LCH | lch(46.66, 58.99, 292.29°) |
| OKLab | oklab(54.85% 0.003 -0.1561) |
| OKLCH | oklch(54.85% 0.156 271.1) |
| XYZ | xyz(19.0195, 15.7601, 58.5281) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.31
Cornflower Blue
#5170D7
ΔE00 3.58
Dark Periwinkle
#665FD1
ΔE00 5.32
French Blue
#436BAD
ΔE00 5.59
Warm Blue
#4B57DB
ΔE00 5.64
Azul
#1D5DEC
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5167CB #CBB551
analogous
#51A4CB #5167CB #7851CB
triadic
#5167CB #CB5167 #67CB51
tetradic
#5167CB #CB51A4 #CBB551 #51CB78
square
#5167CB #CB51A4 #CBB551 #51CB78
split-complementary
#5167CB #CB7851 #A4CB51
monochromatic
#25357C #3349AC #5167CB #8090D9 #AFB9E7
Accessibility & contrast
On white
5.06
#5167CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#5167CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5167CB
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5167CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5167CB | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#1B69C9
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5167cb; /* rgb */ color: rgb(81, 103, 203); /* oklch */ color: oklch(54.9% 0.156 271.1);
Tailwind
colors: {
custom: {
50: '#8c92db',
500: '#5167cb',
950: '#000000',
},
}SCSS
$custom: #5167cb; $custom-light: #8c92db; $custom-dark: #000000;
JSON
{
"hex": "#5167cb",
"rgb": {
"r": 81,
"g": 103,
"b": 203
},
"hsl": {
"h": 229.18,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.54851,
"c": 0.15617,
"h": 271.1
},
"luminance": 0.15762
}Semantic roles & 50–950 ramp
primary
#5167CB
secondary
#D5CCA3
accent
#C34ADD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83