#5266E3#5266E3
#5266E3 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.4% C 0.190 H 272.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5266E3 |
|---|---|
| RGB | rgb(82, 102, 227) |
| HSL | hsl(232, 72%, 61%) |
| HSV | hsv(232, 64%, 89%) |
| CMYK | cmyk(63.9%, 55.1%, 0%, 11%) |
| CIE-LAB | lab(48.06, 31.31, -65.98) |
| CIE-LCH | lch(48.06, 73.03, 295.38°) |
| OKLab | oklab(56.43% 0.0067 -0.1897) |
| OKLCH | oklch(56.43% 0.19 272) |
| XYZ | xyz(22.0915, 16.8407, 74.7445) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.79
Cornflower Blue
#5170D7
ΔE00 3.95
Azul
#1D5DEC
ΔE00 4.76
Bright Blue
#0165FC
ΔE00 4.84
Dark Periwinkle
#665FD1
ΔE00 4.85
Warm Blue
#4B57DB
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5266E3 #E3CF52
analogous
#52AEE3 #5266E3 #8652E3
triadic
#5266E3 #E35266 #66E352
tetradic
#5266E3 #E352AE #E3CF52 #52E386
square
#5266E3 #E352AE #E3CF52 #52E386
split-complementary
#5266E3 #E38652 #AEE352
monochromatic
#1A2DA1 #233BD5 #5266E3 #8795EC #BBC3F4
Accessibility & contrast
On white
4.81
#5266E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#5266E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5266E3
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5266E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5266E3 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5266e3; /* rgb */ color: rgb(82, 102, 227); /* oklch */ color: oklch(56.4% 0.190 272.0);
Tailwind
colors: {
custom: {
50: '#9191ed',
500: '#5266e3',
950: '#000000',
},
}SCSS
$custom: #5266e3; $custom-light: #9191ed; $custom-dark: #000000;
JSON
{
"hex": "#5266e3",
"rgb": {
"r": 82,
"g": 102,
"b": 227
},
"hsl": {
"h": 231.724,
"s": 72.139,
"l": 60.588
},
"oklch": {
"l": 0.56431,
"c": 0.18978,
"h": 272
},
"luminance": 0.16843
}Semantic roles & 50–950 ramp
primary
#5266E3
secondary
#E4DCAD
accent
#B911D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84