#5169CE#5169CE
#5169CE is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.5% C 0.158 H 270.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5169CE |
|---|---|
| RGB | rgb(81, 105, 206) |
| HSL | hsl(228, 56%, 56%) |
| HSV | hsv(228, 61%, 81%) |
| CMYK | cmyk(60.7%, 49%, 0%, 19.2%) |
| CIE-LAB | lab(47.37, 22.14, -55.15) |
| CIE-LCH | lch(47.37, 59.43, 291.87°) |
| OKLab | oklab(55.46% 0.0013 -0.1578) |
| OKLCH | oklch(55.46% 0.158 270.5) |
| XYZ | xyz(19.5818, 16.3071, 60.4962) |
| Luminance | 0.1631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.77
Royal Blue
#4169E1
ΔE00 2.80
French Blue
#436BAD
ΔE00 5.59
Dark Periwinkle
#665FD1
ΔE00 5.73
Azul
#1D5DEC
ΔE00 5.74
Bright Blue
#0165FC
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5169CE #CEB651
analogous
#51A8CE #5169CE #7851CE
triadic
#5169CE #CE5169 #69CE51
tetradic
#5169CE #CE51A8 #CEB651 #51CE78
square
#5169CE #CE51A8 #CEB651 #51CE78
split-complementary
#5169CE #CE7851 #A8CE51
monochromatic
#243680 #324AB0 #5169CE #8192DB #B1BBE9
Accessibility & contrast
On white
4.93
#5169CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#5169CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5169CE
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5169CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5169CE | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3476D2
Deuteranopia (green-blind)
#1B6BCC
Tritanopia (blue-blind)
#008092
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5169ce; /* rgb */ color: rgb(81, 105, 206); /* oklch */ color: oklch(55.5% 0.158 270.5);
Tailwind
colors: {
custom: {
50: '#8d93de',
500: '#5169ce',
950: '#000000',
},
}SCSS
$custom: #5169ce; $custom-light: #8d93de; $custom-dark: #000000;
JSON
{
"hex": "#5169ce",
"rgb": {
"r": 81,
"g": 105,
"b": 206
},
"hsl": {
"h": 228.48,
"s": 56.054,
"l": 56.275
},
"oklch": {
"l": 0.55456,
"c": 0.15779,
"h": 270.5
},
"luminance": 0.16309
}Semantic roles & 50–950 ramp
primary
#5169CE
secondary
#D7CDA4
accent
#C248DF
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83