#5259C5#5259C5
#5259C5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.166 H 276.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5259C5 |
|---|---|
| RGB | rgb(82, 89, 197) |
| HSL | hsl(236, 50%, 55%) |
| HSV | hsv(236, 58%, 77%) |
| CMYK | cmyk(58.4%, 54.8%, 0%, 22.7%) |
| CIE-LAB | lab(42.72, 29.33, -57.48) |
| CIE-LCH | lch(42.72, 64.53, 297.03°) |
| OKLab | oklab(51.77% 0.0178 -0.1648) |
| OKLCH | oklch(51.77% 0.166 276.2) |
| XYZ | xyz(17.1268, 12.9686, 54.4132) |
| Luminance | 0.1297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.98
Warm Blue
#4B57DB
ΔE00 3.03
Dark Periwinkle
#665FD1
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.43
Light Indigo
#6D5ACF
ΔE00 5.04
Azul
#1D5DEC
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5259C5 #C5BE52
analogous
#5293C5 #5259C5 #8552C5
triadic
#5259C5 #C55259 #59C552
tetradic
#5259C5 #C55293 #C5BE52 #52C585
square
#5259C5 #C55293 #C5BE52 #52C585
split-complementary
#5259C5 #C58552 #93C552
monochromatic
#272C75 #373DA3 #5259C5 #8085D4 #AEB1E4
Accessibility & contrast
On white
5.84
#5259C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#5259C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5259C5
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5259C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5259C5 | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C6AC9
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5259c5; /* rgb */ color: rgb(82, 89, 197); /* oklch */ color: oklch(51.8% 0.166 276.2);
Tailwind
colors: {
custom: {
50: '#8d87d7',
500: '#5259c5',
950: '#000000',
},
}SCSS
$custom: #5259c5; $custom-light: #8d87d7; $custom-dark: #000000;
JSON
{
"hex": "#5259c5",
"rgb": {
"r": 82,
"g": 89,
"b": 197
},
"hsl": {
"h": 236.348,
"s": 49.784,
"l": 54.706
},
"oklch": {
"l": 0.51773,
"c": 0.16574,
"h": 276.2
},
"luminance": 0.1297
}Semantic roles & 50–950 ramp
primary
#5259C5
secondary
#D2CFA1
accent
#D14ED9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83