#5266BF#5266BF
#5266BF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.9% C 0.140 H 271.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5266BF |
|---|---|
| RGB | rgb(82, 102, 191) |
| HSL | hsl(229, 46%, 54%) |
| HSV | hsv(229, 57%, 75%) |
| CMYK | cmyk(57.1%, 46.6%, 0%, 25.1%) |
| CIE-LAB | lab(45.71, 19.16, -49.18) |
| CIE-LCH | lch(45.71, 52.78, 291.29°) |
| OKLab | oklab(53.91% 0.0036 -0.1402) |
| OKLCH | oklch(53.91% 0.14 271.5) |
| XYZ | xyz(17.6319, 15.0568, 51.2572) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.80
Royal Blue
#4169E1
ΔE00 4.82
French Blue
#436BAD
ΔE00 4.93
Dark Periwinkle
#665FD1
ΔE00 5.74
Warm Blue
#4B57DB
ΔE00 6.23
Iris
#6258C4
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5266BF #BFAB52
analogous
#529CBF #5266BF #7452BF
triadic
#5266BF #BF5266 #66BF52
tetradic
#5266BF #BF529C #BFAB52 #52BF74
square
#5266BF #BF529C #BFAB52 #52BF74
split-complementary
#5266BF #BF7452 #9CBF52
monochromatic
#29356E #394B9B #5266BF #7F8ED0 #ABB5E0
Accessibility & contrast
On white
5.23
#5266BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#5266BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5266BF
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5266BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5266BF | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D71C2
Deuteranopia (green-blind)
#2D68BD
Tritanopia (blue-blind)
#097A89
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5266bf; /* rgb */ color: rgb(82, 102, 191); /* oklch */ color: oklch(53.9% 0.140 271.5);
Tailwind
colors: {
custom: {
50: '#8b91d3',
500: '#5266bf',
950: '#000000',
},
}SCSS
$custom: #5266bf; $custom-light: #8b91d3; $custom-dark: #000000;
JSON
{
"hex": "#5266bf",
"rgb": {
"r": 82,
"g": 102,
"b": 191
},
"hsl": {
"h": 228.991,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.5391,
"c": 0.14029,
"h": 271.5
},
"luminance": 0.15058
}Semantic roles & 50–950 ramp
primary
#5266BF
secondary
#CEC59F
accent
#BE52D6
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83