#5259C0#5259C0
#5259C0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.159 H 276.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5259C0 |
|---|---|
| RGB | rgb(82, 89, 192) |
| HSL | hsl(236, 47%, 54%) |
| HSV | hsv(236, 57%, 75%) |
| CMYK | cmyk(57.3%, 53.6%, 0%, 24.7%) |
| CIE-LAB | lab(42.37, 27.67, -55.13) |
| CIE-LCH | lch(42.37, 61.68, 296.65°) |
| OKLab | oklab(51.41% 0.0175 -0.1579) |
| OKLCH | oklch(51.41% 0.159 276.3) |
| XYZ | xyz(16.5634, 12.7432, 51.4458) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.10
Warm Blue
#4B57DB
ΔE00 3.73
Dark Periwinkle
#665FD1
ΔE00 4.48
Slate Blue
#6A5ACD
ΔE00 4.74
Light Indigo
#6D5ACF
ΔE00 5.36
Azul
#1D5DEC
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5259C0 #C0B952
analogous
#5290C0 #5259C0 #8252C0
triadic
#5259C0 #C05259 #59C052
tetradic
#5259C0 #C05290 #C0B952 #52C082
square
#5259C0 #C05290 #C0B952 #52C082
split-complementary
#5259C0 #C08252 #90C052
monochromatic
#282D6F #393F9C #5259C0 #7F84D0 #ACAFE1
Accessibility & contrast
On white
5.92
#5259C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#5259C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5259C0
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5259C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5259C0 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1969C4
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#0D7184
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5259c0; /* rgb */ color: rgb(82, 89, 192); /* oklch */ color: oklch(51.4% 0.159 276.3);
Tailwind
colors: {
custom: {
50: '#8c87d4',
500: '#5259c0',
950: '#000000',
},
}SCSS
$custom: #5259c0; $custom-light: #8c87d4; $custom-dark: #000000;
JSON
{
"hex": "#5259c0",
"rgb": {
"r": 82,
"g": 89,
"b": 192
},
"hsl": {
"h": 236.182,
"s": 46.61,
"l": 53.725
},
"oklch": {
"l": 0.51408,
"c": 0.15883,
"h": 276.3
},
"luminance": 0.12744
}Semantic roles & 50–950 ramp
primary
#5259C0
secondary
#CECB9F
accent
#CE52D6
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83