#5261D5#5261D5
#5261D5 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.177 H 273.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5261D5 |
|---|---|
| RGB | rgb(82, 97, 213) |
| HSL | hsl(233, 61%, 58%) |
| HSV | hsv(233, 62%, 84%) |
| CMYK | cmyk(61.5%, 54.5%, 0%, 16.5%) |
| CIE-LAB | lab(45.83, 29.68, -61.64) |
| CIE-LCH | lch(45.83, 68.41, 295.71°) |
| OKLab | oklab(54.46% 0.0107 -0.1769) |
| OKLCH | oklch(54.46% 0.177 273.4) |
| XYZ | xyz(19.7606, 15.1457, 64.8200) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.22
Dark Periwinkle
#665FD1
ΔE00 3.62
Royal Blue
#4169E1
ΔE00 4.08
Azul
#1D5DEC
ΔE00 4.68
Iris
#6258C4
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5261D5 #D5C652
analogous
#52A2D5 #5261D5 #8552D5
triadic
#5261D5 #D55261 #61D552
tetradic
#5261D5 #D552A2 #D5C652 #52D585
square
#5261D5 #D552A2 #D5C652 #52D585
split-complementary
#5261D5 #D58552 #A2D552
monochromatic
#222E8B #2E3EBC #5261D5 #838EE1 #B4BBED
Accessibility & contrast
On white
5.21
#5261D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#5261D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5261D5
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5261D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5261D5 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0872D9
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5261d5; /* rgb */ color: rgb(82, 97, 213); /* oklch */ color: oklch(54.5% 0.177 273.4);
Tailwind
colors: {
custom: {
50: '#8f8de3',
500: '#5261d5',
950: '#000000',
},
}SCSS
$custom: #5261d5; $custom-light: #8f8de3; $custom-dark: #000000;
JSON
{
"hex": "#5261d5",
"rgb": {
"r": 82,
"g": 97,
"b": 213
},
"hsl": {
"h": 233.13,
"s": 60.93,
"l": 57.843
},
"oklch": {
"l": 0.54456,
"c": 0.17725,
"h": 273.4
},
"luminance": 0.15147
}Semantic roles & 50–950 ramp
primary
#5261D5
secondary
#DCD6A7
accent
#D244E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84