#5261DE#5261DE
#5261DE is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.1% C 0.189 H 273.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5261DE |
|---|---|
| RGB | rgb(82, 97, 222) |
| HSL | hsl(234, 68%, 60%) |
| HSV | hsv(234, 63%, 87%) |
| CMYK | cmyk(63.1%, 56.3%, 0%, 12.9%) |
| CIE-LAB | lab(46.47, 32.71, -65.74) |
| CIE-LCH | lch(46.47, 73.42, 296.45°) |
| OKLab | oklab(55.13% 0.011 -0.189) |
| OKLCH | oklch(55.13% 0.189 273.3) |
| XYZ | xyz(20.9348, 15.6154, 71.0039) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.21
Dark Periwinkle
#665FD1
ΔE00 3.76
Royal Blue
#4169E1
ΔE00 3.93
Azul
#1D5DEC
ΔE00 4.39
Slate Blue
#6A5ACD
ΔE00 5.38
Cornflower Blue
#5170D7
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5261DE #DECF52
analogous
#52A7DE #5261DE #8952DE
triadic
#5261DE #DE5261 #61DE52
tetradic
#5261DE #DE52A7 #DECF52 #52DE89
square
#5261DE #DE52A7 #DECF52 #52DE89
split-complementary
#5261DE #DE8952 #A7DE52
monochromatic
#1D2A99 #2739CC #5261DE #8590E8 #B9BFF2
Accessibility & contrast
On white
5.09
#5261DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#5261DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5261DE
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5261DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5261DE | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#007F96
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5261de; /* rgb */ color: rgb(82, 97, 222); /* oklch */ color: oklch(55.1% 0.189 273.3);
Tailwind
colors: {
custom: {
50: '#908de9',
500: '#5261de',
950: '#000000',
},
}SCSS
$custom: #5261de; $custom-light: #908de9; $custom-dark: #000000;
JSON
{
"hex": "#5261de",
"rgb": {
"r": 82,
"g": 97,
"b": 222
},
"hsl": {
"h": 233.571,
"s": 67.961,
"l": 59.608
},
"oklch": {
"l": 0.55129,
"c": 0.18931,
"h": 273.3
},
"luminance": 0.15617
}Semantic roles & 50–950 ramp
primary
#5261DE
secondary
#E1DBAB
accent
#D83DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84