#5260E5#5260E5
#5260E5 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.5% C 0.200 H 273.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5260E5 |
|---|---|
| RGB | rgb(82, 96, 229) |
| HSL | hsl(234, 74%, 61%) |
| HSV | hsv(234, 64%, 90%) |
| CMYK | cmyk(64.2%, 58.1%, 0%, 10.2%) |
| CIE-LAB | lab(46.73, 35.67, -69.27) |
| CIE-LCH | lch(46.73, 77.92, 297.25°) |
| OKLab | oklab(55.49% 0.0119 -0.1994) |
| OKLCH | oklch(55.49% 0.2 273.4) |
| XYZ | xyz(21.8007, 15.8148, 76.0172) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.24
Dark Periwinkle
#665FD1
ΔE00 4.01
Royal Blue
#4169E1
ΔE00 4.30
Azul
#1D5DEC
ΔE00 4.39
Bright Blue
#0165FC
ΔE00 5.49
Slate Blue
#6A5ACD
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5260E5 #E5D752
analogous
#52A9E5 #5260E5 #8D52E5
triadic
#5260E5 #E55260 #60E552
tetradic
#5260E5 #E552A9 #E5D752 #52E58D
square
#5260E5 #E552A9 #E5D752 #52E58D
split-complementary
#5260E5 #E58D52 #A9E552
monochromatic
#1926A4 #2132D9 #5260E5 #8791ED #BCC2F5
Accessibility & contrast
On white
5.04
#5260E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#5260E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5260E5
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5260E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5260E5 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5260e5; /* rgb */ color: rgb(82, 96, 229); /* oklch */ color: oklch(55.5% 0.200 273.4);
Tailwind
colors: {
custom: {
50: '#928dee',
500: '#5260e5',
950: '#000000',
},
}SCSS
$custom: #5260e5; $custom-light: #928dee; $custom-dark: #000000;
JSON
{
"hex": "#5260e5",
"rgb": {
"r": 82,
"g": 96,
"b": 229
},
"hsl": {
"h": 234.286,
"s": 73.869,
"l": 60.98
},
"oklch": {
"l": 0.55487,
"c": 0.19974,
"h": 273.4
},
"luminance": 0.15817
}Semantic roles & 50–950 ramp
primary
#5260E5
secondary
#E5E0AE
accent
#C310D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84