#5259C4#5259C4
#5259C4 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.7% C 0.164 H 276.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5259C4 |
|---|---|
| RGB | rgb(82, 89, 196) |
| HSL | hsl(236, 49%, 55%) |
| HSV | hsv(236, 58%, 77%) |
| CMYK | cmyk(58.2%, 54.6%, 0%, 23.1%) |
| CIE-LAB | lab(42.65, 28.99, -57.01) |
| CIE-LCH | lch(42.65, 63.96, 296.96°) |
| OKLab | oklab(51.7% 0.0177 -0.1634) |
| OKLCH | oklch(51.7% 0.164 276.2) |
| XYZ | xyz(17.0126, 12.9229, 53.8117) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.99
Warm Blue
#4B57DB
ΔE00 3.17
Dark Periwinkle
#665FD1
ΔE00 4.16
Slate Blue
#6A5ACD
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 5.09
Azul
#1D5DEC
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5259C4 #C4BD52
analogous
#5292C4 #5259C4 #8452C4
triadic
#5259C4 #C45259 #59C452
tetradic
#5259C4 #C45292 #C4BD52 #52C484
square
#5259C4 #C45292 #C4BD52 #52C484
split-complementary
#5259C4 #C48452 #92C452
monochromatic
#282C74 #373EA2 #5259C4 #8085D4 #ADB1E3
Accessibility & contrast
On white
5.86
#5259C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#5259C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5259C4
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5259C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5259C4 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F6AC8
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5259c4; /* rgb */ color: rgb(82, 89, 196); /* oklch */ color: oklch(51.7% 0.164 276.2);
Tailwind
colors: {
custom: {
50: '#8d87d7',
500: '#5259c4',
950: '#000000',
},
}SCSS
$custom: #5259c4; $custom-light: #8d87d7; $custom-dark: #000000;
JSON
{
"hex": "#5259c4",
"rgb": {
"r": 82,
"g": 89,
"b": 196
},
"hsl": {
"h": 236.316,
"s": 49.138,
"l": 54.51
},
"oklch": {
"l": 0.517,
"c": 0.16436,
"h": 276.2
},
"luminance": 0.12924
}Semantic roles & 50–950 ramp
primary
#5259C4
secondary
#D1CEA1
accent
#D04FD9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83