#5259C2#5259C2
#5259C2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.162 H 276.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5259C2 |
|---|---|
| RGB | rgb(82, 89, 194) |
| HSL | hsl(236, 48%, 54%) |
| HSV | hsv(236, 58%, 76%) |
| CMYK | cmyk(57.7%, 54.1%, 0%, 23.9%) |
| CIE-LAB | lab(42.51, 28.33, -56.07) |
| CIE-LCH | lch(42.51, 62.82, 296.81°) |
| OKLab | oklab(51.55% 0.0176 -0.1606) |
| OKLCH | oklch(51.55% 0.162 276.3) |
| XYZ | xyz(16.7865, 12.8324, 52.6208) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.04
Warm Blue
#4B57DB
ΔE00 3.45
Dark Periwinkle
#665FD1
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 4.61
Light Indigo
#6D5ACF
ΔE00 5.22
Azul
#1D5DEC
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5259C2 #C2BB52
analogous
#5291C2 #5259C2 #8352C2
triadic
#5259C2 #C25259 #59C252
tetradic
#5259C2 #C25291 #C2BB52 #52C283
square
#5259C2 #C25291 #C2BB52 #52C283
split-complementary
#5259C2 #C28352 #91C252
monochromatic
#282D72 #383E9F #5259C2 #7F84D2 #ACB0E2
Accessibility & contrast
On white
5.89
#5259C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#5259C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5259C2
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5259C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5259C2 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1569C6
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#067185
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5259c2; /* rgb */ color: rgb(82, 89, 194); /* oklch */ color: oklch(51.6% 0.162 276.3);
Tailwind
colors: {
custom: {
50: '#8c87d5',
500: '#5259c2',
950: '#000000',
},
}SCSS
$custom: #5259c2; $custom-light: #8c87d5; $custom-dark: #000000;
JSON
{
"hex": "#5259c2",
"rgb": {
"r": 82,
"g": 89,
"b": 194
},
"hsl": {
"h": 236.25,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.51553,
"c": 0.16161,
"h": 276.3
},
"luminance": 0.12834
}Semantic roles & 50–950 ramp
primary
#5259C2
secondary
#D0CDA0
accent
#CF50D7
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83