#5261CF#5261CF
#5261CF is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.0% C 0.169 H 273.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5261CF |
|---|---|
| RGB | rgb(82, 97, 207) |
| HSL | hsl(233, 57%, 57%) |
| HSV | hsv(233, 60%, 81%) |
| CMYK | cmyk(60.4%, 53.1%, 0%, 18.8%) |
| CIE-LAB | lab(45.42, 27.66, -58.87) |
| CIE-LCH | lch(45.42, 65.04, 295.17°) |
| OKLab | oklab(54.02% 0.0104 -0.1688) |
| OKLCH | oklch(54.02% 0.169 273.5) |
| XYZ | xyz(19.0131, 14.8467, 60.8831) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.50
Dark Periwinkle
#665FD1
ΔE00 3.74
Royal Blue
#4169E1
ΔE00 4.37
Iris
#6258C4
ΔE00 4.78
Azul
#1D5DEC
ΔE00 5.05
Slate Blue
#6A5ACD
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5261CF #CFC052
analogous
#52A0CF #5261CF #8252CF
triadic
#5261CF #CF5261 #61CF52
tetradic
#5261CF #CF52A0 #CFC052 #52CF82
square
#5261CF #CF52A0 #CFC052 #52CF82
split-complementary
#5261CF #CF8252 #A0CF52
monochromatic
#242F82 #3141B2 #5261CF #828DDC #B2B9EA
Accessibility & contrast
On white
5.29
#5261CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#5261CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5261CF
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5261CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5261CF | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B71D3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#007B8F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5261cf; /* rgb */ color: rgb(82, 97, 207); /* oklch */ color: oklch(54.0% 0.169 273.5);
Tailwind
colors: {
custom: {
50: '#8e8dde',
500: '#5261cf',
950: '#000000',
},
}SCSS
$custom: #5261cf; $custom-light: #8e8dde; $custom-dark: #000000;
JSON
{
"hex": "#5261cf",
"rgb": {
"r": 82,
"g": 97,
"b": 207
},
"hsl": {
"h": 232.8,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.54019,
"c": 0.1691,
"h": 273.5
},
"luminance": 0.14848
}Semantic roles & 50–950 ramp
primary
#5261CF
secondary
#D8D2A5
accent
#CE48E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83