#5259E2#5259E2
#5259E2 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.0% C 0.204 H 275.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5259E2 |
|---|---|
| RGB | rgb(82, 89, 226) |
| HSL | hsl(237, 71%, 60%) |
| HSV | hsv(237, 64%, 89%) |
| CMYK | cmyk(63.7%, 60.6%, 0%, 11.4%) |
| CIE-LAB | lab(44.84, 38.95, -70.65) |
| CIE-LCH | lch(44.84, 80.67, 298.87°) |
| OKLab | oklab(54.02% 0.0177 -0.2035) |
| OKLCH | oklch(54.02% 0.204 275) |
| XYZ | xyz(20.7750, 14.4278, 73.6268) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.52
Dark Periwinkle
#665FD1
ΔE00 3.86
Slate Blue
#6A5ACD
ΔE00 4.60
Iris
#6258C4
ΔE00 4.74
Electric Blue
#0652FF
ΔE00 4.78
Light Indigo
#6D5ACF
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5259E2 #E2DB52
analogous
#52A1E2 #5259E2 #9352E2
triadic
#5259E2 #E25259 #59E252
tetradic
#5259E2 #E252A1 #E2DB52 #52E293
square
#5259E2 #E252A1 #E2DB52 #52E293
split-complementary
#5259E2 #E29352 #A1E252
monochromatic
#1B219F #232CD3 #5259E2 #868BEB #BBBEF4
Accessibility & contrast
On white
5.40
#5259E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#5259E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5259E2
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5259E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5259E2 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5259e2; /* rgb */ color: rgb(82, 89, 226); /* oklch */ color: oklch(54.0% 0.204 275.0);
Tailwind
colors: {
custom: {
50: '#9288ec',
500: '#5259e2',
950: '#000000',
},
}SCSS
$custom: #5259e2; $custom-light: #9288ec; $custom-dark: #000000;
JSON
{
"hex": "#5259e2",
"rgb": {
"r": 82,
"g": 89,
"b": 226
},
"hsl": {
"h": 237.083,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.54018,
"c": 0.20427,
"h": 275
},
"luminance": 0.1443
}Semantic roles & 50–950 ramp
primary
#5259E2
secondary
#E3E1AC
accent
#CA12D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84