#5167CE#5167CE
#5167CE is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.1% C 0.160 H 271.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5167CE |
|---|---|
| RGB | rgb(81, 103, 206) |
| HSL | hsl(229, 56%, 56%) |
| HSV | hsv(229, 61%, 81%) |
| CMYK | cmyk(60.7%, 50%, 0%, 19.2%) |
| CIE-LAB | lab(46.85, 23.39, -56.00) |
| CIE-LCH | lch(46.85, 60.69, 292.67°) |
| OKLab | oklab(55.06% 0.0033 -0.1603) |
| OKLCH | oklch(55.06% 0.16 271.2) |
| XYZ | xyz(19.3804, 15.9045, 60.4291) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.03
Cornflower Blue
#5170D7
ΔE00 3.43
Dark Periwinkle
#665FD1
ΔE00 5.18
Azul
#1D5DEC
ΔE00 5.44
Warm Blue
#4B57DB
ΔE00 5.47
French Blue
#436BAD
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5167CE #CEB851
analogous
#51A6CE #5167CE #7A51CE
triadic
#5167CE #CE5167 #67CE51
tetradic
#5167CE #CE51A6 #CEB851 #51CE7A
square
#5167CE #CE51A6 #CEB851 #51CE7A
split-complementary
#5167CE #CE7A51 #A6CE51
monochromatic
#243480 #3248B0 #5167CE #8191DB #B1BAE9
Accessibility & contrast
On white
5.02
#5167CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#5167CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5167CE
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5167CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5167CE | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#126ACC
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5167ce; /* rgb */ color: rgb(81, 103, 206); /* oklch */ color: oklch(55.1% 0.160 271.2);
Tailwind
colors: {
custom: {
50: '#8d92de',
500: '#5167ce',
950: '#000000',
},
}SCSS
$custom: #5167ce; $custom-light: #8d92de; $custom-dark: #000000;
JSON
{
"hex": "#5167ce",
"rgb": {
"r": 81,
"g": 103,
"b": 206
},
"hsl": {
"h": 229.44,
"s": 56.054,
"l": 56.275
},
"oklch": {
"l": 0.55057,
"c": 0.16032,
"h": 271.2
},
"luminance": 0.15906
}Semantic roles & 50–950 ramp
primary
#5167CE
secondary
#D7CEA4
accent
#C548DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83