#5259C6#5259C6
#5259C6 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.167 H 276.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5259C6 |
|---|---|
| RGB | rgb(82, 89, 198) |
| HSL | hsl(236, 50%, 55%) |
| HSV | hsv(236, 59%, 78%) |
| CMYK | cmyk(58.6%, 55.1%, 0%, 22.4%) |
| CIE-LAB | lab(42.79, 29.66, -57.95) |
| CIE-LCH | lch(42.79, 65.09, 297.10°) |
| OKLab | oklab(51.85% 0.0178 -0.1661) |
| OKLCH | oklch(51.85% 0.167 276.1) |
| XYZ | xyz(17.2418, 13.0145, 55.0186) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.90
Iris
#6258C4
ΔE00 2.98
Dark Periwinkle
#665FD1
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 4.38
Light Indigo
#6D5ACF
ΔE00 4.98
Azul
#1D5DEC
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5259C6 #C6BF52
analogous
#5293C6 #5259C6 #8552C6
triadic
#5259C6 #C65259 #59C652
tetradic
#5259C6 #C65293 #C6BF52 #52C685
square
#5259C6 #C65293 #C6BF52 #52C685
split-complementary
#5259C6 #C68552 #93C652
monochromatic
#272C77 #363DA5 #5259C6 #8085D5 #AEB1E4
Accessibility & contrast
On white
5.83
#5259C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#5259C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5259C6
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5259C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5259C6 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#086ACA
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5259c6; /* rgb */ color: rgb(82, 89, 198); /* oklch */ color: oklch(51.8% 0.167 276.1);
Tailwind
colors: {
custom: {
50: '#8d87d8',
500: '#5259c6',
950: '#000000',
},
}SCSS
$custom: #5259c6; $custom-light: #8d87d8; $custom-dark: #000000;
JSON
{
"hex": "#5259c6",
"rgb": {
"r": 82,
"g": 89,
"b": 198
},
"hsl": {
"h": 236.379,
"s": 50.435,
"l": 54.902
},
"oklch": {
"l": 0.51847,
"c": 0.1671,
"h": 276.1
},
"luminance": 0.13016
}Semantic roles & 50–950 ramp
primary
#5259C6
secondary
#D2CFA2
accent
#D14EDA
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B15
muted
#7E7C83