#5261D6#5261D6
#5261D6 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.179 H 273.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5261D6 |
|---|---|
| RGB | rgb(82, 97, 214) |
| HSL | hsl(233, 62%, 58%) |
| HSV | hsv(233, 62%, 84%) |
| CMYK | cmyk(61.7%, 54.7%, 0%, 16.1%) |
| CIE-LAB | lab(45.90, 30.02, -62.10) |
| CIE-LCH | lch(45.90, 68.97, 295.80°) |
| OKLab | oklab(54.53% 0.0107 -0.1783) |
| OKLCH | oklch(54.53% 0.179 273.4) |
| XYZ | xyz(19.8880, 15.1966, 65.4905) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.19
Dark Periwinkle
#665FD1
ΔE00 3.61
Royal Blue
#4169E1
ΔE00 4.05
Azul
#1D5DEC
ΔE00 4.64
Iris
#6258C4
ΔE00 5.05
Slate Blue
#6A5ACD
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5261D6 #D6C752
analogous
#52A3D6 #5261D6 #8552D6
triadic
#5261D6 #D65261 #61D652
tetradic
#5261D6 #D652A3 #D6C752 #52D685
square
#5261D6 #D652A3 #D6C752 #52D685
split-complementary
#5261D6 #D68552 #A3D652
monochromatic
#212D8C #2D3DBE #5261D6 #838EE2 #B5BBED
Accessibility & contrast
On white
5.20
#5261D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#5261D6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5261D6
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5261D6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5261D6 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0373DA
Deuteranopia (green-blind)
#0067D4
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5261d6; /* rgb */ color: rgb(82, 97, 214); /* oklch */ color: oklch(54.5% 0.179 273.4);
Tailwind
colors: {
custom: {
50: '#8f8de3',
500: '#5261d6',
950: '#000000',
},
}SCSS
$custom: #5261d6; $custom-light: #8f8de3; $custom-dark: #000000;
JSON
{
"hex": "#5261d6",
"rgb": {
"r": 82,
"g": 97,
"b": 214
},
"hsl": {
"h": 233.182,
"s": 61.682,
"l": 58.039
},
"oklch": {
"l": 0.5453,
"c": 0.1786,
"h": 273.4
},
"luminance": 0.15198
}Semantic roles & 50–950 ramp
primary
#5261D6
secondary
#DCD6A8
accent
#D243E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84