#5266CD#5266CD
#5266CD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.160 H 271.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5266CD |
|---|---|
| RGB | rgb(82, 102, 205) |
| HSL | hsl(230, 55%, 56%) |
| HSV | hsv(230, 60%, 80%) |
| CMYK | cmyk(60%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(46.58, 23.86, -55.85) |
| CIE-LCH | lch(46.58, 60.74, 293.14°) |
| OKLab | oklab(54.85% 0.0052 -0.1598) |
| OKLCH | oklch(54.85% 0.16 271.9) |
| XYZ | xyz(19.2468, 15.7028, 59.7625) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.38
Cornflower Blue
#5170D7
ΔE00 3.84
Dark Periwinkle
#665FD1
ΔE00 4.82
Warm Blue
#4B57DB
ΔE00 5.17
Azul
#1D5DEC
ΔE00 5.48
French Blue
#436BAD
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5266CD #CDB952
analogous
#52A4CD #5266CD #7C52CD
triadic
#5266CD #CD5266 #66CD52
tetradic
#5266CD #CD52A4 #CDB952 #52CD7C
square
#5266CD #CD52A4 #CDB952 #52CD7C
split-complementary
#5266CD #CD7C52 #A4CD52
monochromatic
#253480 #3347AF #5266CD #8190DB #B1BAE8
Accessibility & contrast
On white
5.07
#5266CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#5266CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5266CD
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5266CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5266CD | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E74D1
Deuteranopia (green-blind)
#1269CB
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5266cd; /* rgb */ color: rgb(82, 102, 205); /* oklch */ color: oklch(54.9% 0.160 271.9);
Tailwind
colors: {
custom: {
50: '#8d91dd',
500: '#5266cd',
950: '#000000',
},
}SCSS
$custom: #5266cd; $custom-light: #8d91dd; $custom-dark: #000000;
JSON
{
"hex": "#5266cd",
"rgb": {
"r": 82,
"g": 102,
"b": 205
},
"hsl": {
"h": 230.244,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.5485,
"c": 0.15994,
"h": 271.9
},
"luminance": 0.15704
}Semantic roles & 50–950 ramp
primary
#5266CD
secondary
#D7CEA4
accent
#C649DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83