#5260D7#5260D7
#5260D7 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.4% C 0.181 H 273.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5260D7 |
|---|---|
| RGB | rgb(82, 96, 215) |
| HSL | hsl(234, 62%, 58%) |
| HSV | hsv(234, 62%, 84%) |
| CMYK | cmyk(61.9%, 55.3%, 0%, 15.7%) |
| CIE-LAB | lab(45.72, 30.98, -62.96) |
| CIE-LCH | lch(45.72, 70.17, 296.20°) |
| OKLab | oklab(54.42% 0.0117 -0.1808) |
| OKLCH | oklch(54.42% 0.181 273.7) |
| XYZ | xyz(19.9242, 15.0642, 66.1345) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.86
Dark Periwinkle
#665FD1
ΔE00 3.49
Royal Blue
#4169E1
ΔE00 4.30
Azul
#1D5DEC
ΔE00 4.59
Iris
#6258C4
ΔE00 4.87
Slate Blue
#6A5ACD
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5260D7 #D7C952
analogous
#52A2D7 #5260D7 #8652D7
triadic
#5260D7 #D75260 #60D752
tetradic
#5260D7 #D752A2 #D7C952 #52D786
square
#5260D7 #D752A2 #D7C952 #52D786
split-complementary
#5260D7 #D78652 #A2D752
monochromatic
#212C8E #2C3CC0 #5260D7 #848EE2 #B5BBEE
Accessibility & contrast
On white
5.23
#5260D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#5260D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5260D7
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5260D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5260D7 | 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)
#0072DB
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5260d7; /* rgb */ color: rgb(82, 96, 215); /* oklch */ color: oklch(54.4% 0.181 273.7);
Tailwind
colors: {
custom: {
50: '#8f8de4',
500: '#5260d7',
950: '#000000',
},
}SCSS
$custom: #5260d7; $custom-light: #8f8de4; $custom-dark: #000000;
JSON
{
"hex": "#5260d7",
"rgb": {
"r": 82,
"g": 96,
"b": 215
},
"hsl": {
"h": 233.684,
"s": 62.441,
"l": 58.235
},
"oklch": {
"l": 0.54417,
"c": 0.18121,
"h": 273.7
},
"luminance": 0.15066
}Semantic roles & 50–950 ramp
primary
#5260D7
secondary
#DDD7A8
accent
#D442E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84