#5259C1#5259C1
#5259C1 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.160 H 276.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5259C1 |
|---|---|
| RGB | rgb(82, 89, 193) |
| HSL | hsl(236, 47%, 54%) |
| HSV | hsv(236, 58%, 76%) |
| CMYK | cmyk(57.5%, 53.9%, 0%, 24.3%) |
| CIE-LAB | lab(42.44, 28.00, -55.60) |
| CIE-LCH | lch(42.44, 62.25, 296.73°) |
| OKLab | oklab(51.48% 0.0176 -0.1592) |
| OKLCH | oklch(51.48% 0.16 276.3) |
| XYZ | xyz(16.6746, 12.7877, 52.0313) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.07
Warm Blue
#4B57DB
ΔE00 3.59
Dark Periwinkle
#665FD1
ΔE00 4.40
Slate Blue
#6A5ACD
ΔE00 4.67
Light Indigo
#6D5ACF
ΔE00 5.29
Azul
#1D5DEC
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5259C1 #C1BA52
analogous
#5291C1 #5259C1 #8352C1
triadic
#5259C1 #C15259 #59C152
tetradic
#5259C1 #C15291 #C1BA52 #52C183
square
#5259C1 #C15291 #C1BA52 #52C183
split-complementary
#5259C1 #C18352 #91C152
monochromatic
#282D70 #383F9D #5259C1 #7F84D1 #ACAFE1
Accessibility & contrast
On white
5.90
#5259C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#5259C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5259C1
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5259C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5259C1 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1769C5
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#0A7184
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5259c1; /* rgb */ color: rgb(82, 89, 193); /* oklch */ color: oklch(51.5% 0.160 276.3);
Tailwind
colors: {
custom: {
50: '#8c87d4',
500: '#5259c1',
950: '#000000',
},
}SCSS
$custom: #5259c1; $custom-light: #8c87d4; $custom-dark: #000000;
JSON
{
"hex": "#5259c1",
"rgb": {
"r": 82,
"g": 89,
"b": 193
},
"hsl": {
"h": 236.216,
"s": 47.234,
"l": 53.922
},
"oklch": {
"l": 0.51481,
"c": 0.16022,
"h": 276.3
},
"luminance": 0.12789
}Semantic roles & 50–950 ramp
primary
#5259C1
secondary
#CFCCA0
accent
#CE51D7
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83