#5266D2#5266D2
#5266D2 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.2% C 0.167 H 272.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5266D2 |
|---|---|
| RGB | rgb(82, 102, 210) |
| HSL | hsl(231, 59%, 57%) |
| HSV | hsv(231, 61%, 82%) |
| CMYK | cmyk(61%, 51.4%, 0%, 17.6%) |
| CIE-LAB | lab(46.91, 25.55, -58.19) |
| CIE-LCH | lch(46.91, 63.55, 293.71°) |
| OKLab | oklab(55.2% 0.0057 -0.1667) |
| OKLCH | oklch(55.2% 0.167 272) |
| XYZ | xyz(19.8600, 15.9481, 62.9920) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.01
Cornflower Blue
#5170D7
ΔE00 3.68
Dark Periwinkle
#665FD1
ΔE00 4.66
Warm Blue
#4B57DB
ΔE00 4.95
Azul
#1D5DEC
ΔE00 5.16
Bright Blue
#0165FC
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5266D2 #D2BE52
analogous
#52A6D2 #5266D2 #7E52D2
triadic
#5266D2 #D25266 #66D252
tetradic
#5266D2 #D252A6 #D2BE52 #52D27E
square
#5266D2 #D252A6 #D2BE52 #52D27E
split-complementary
#5266D2 #D27E52 #A6D252
monochromatic
#233387 #3045B7 #5266D2 #8391DF #B3BCEB
Accessibility & contrast
On white
5.01
#5266D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#5266D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5266D2
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5266D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5266D2 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2775D6
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5266d2; /* rgb */ color: rgb(82, 102, 210); /* oklch */ color: oklch(55.2% 0.167 272.0);
Tailwind
colors: {
custom: {
50: '#8e91e0',
500: '#5266d2',
950: '#000000',
},
}SCSS
$custom: #5266d2; $custom-light: #8e91e0; $custom-dark: #000000;
JSON
{
"hex": "#5266d2",
"rgb": {
"r": 82,
"g": 102,
"b": 210
},
"hsl": {
"h": 230.625,
"s": 58.716,
"l": 57.255
},
"oklch": {
"l": 0.55199,
"c": 0.16683,
"h": 272
},
"luminance": 0.1595
}Semantic roles & 50–950 ramp
primary
#5266D2
secondary
#DAD2A6
accent
#CA46E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83