#5260C2#5260C2
#5260C2 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.9% C 0.152 H 273.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #5260C2 |
|---|---|
| RGB | rgb(82, 96, 194) |
| HSL | hsl(233, 48%, 54%) |
| HSV | hsv(233, 58%, 76%) |
| CMYK | cmyk(57.7%, 50.5%, 0%, 23.9%) |
| CIE-LAB | lab(44.31, 23.94, -53.17) |
| CIE-LCH | lch(44.31, 58.31, 294.24°) |
| OKLab | oklab(52.91% 0.0104 -0.152) |
| OKLCH | oklch(52.91% 0.152 273.9) |
| XYZ | xyz(17.3970, 14.0533, 52.8243) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.43
Dark Periwinkle
#665FD1
ΔE00 4.43
Iris
#6258C4
ΔE00 4.52
Slate Blue
#6A5ACD
ΔE00 5.56
Royal Blue
#4169E1
ΔE00 5.61
Light Indigo
#6D5ACF
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5260C2 #C2B452
analogous
#5298C2 #5260C2 #7C52C2
triadic
#5260C2 #C25260 #60C252
tetradic
#5260C2 #C25298 #C2B452 #52C27C
square
#5260C2 #C25298 #C2B452 #52C27C
split-complementary
#5260C2 #C27C52 #98C252
monochromatic
#283172 #38459F #5260C2 #7F8AD2 #ACB3E2
Accessibility & contrast
On white
5.51
#5260C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#5260C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5260C2
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5260C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5260C2 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#1764C0
Tritanopia (blue-blind)
#027688
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5260c2; /* rgb */ color: rgb(82, 96, 194); /* oklch */ color: oklch(52.9% 0.152 273.9);
Tailwind
colors: {
custom: {
50: '#8c8dd5',
500: '#5260c2',
950: '#000000',
},
}SCSS
$custom: #5260c2; $custom-light: #8c8dd5; $custom-dark: #000000;
JSON
{
"hex": "#5260c2",
"rgb": {
"r": 82,
"g": 96,
"b": 194
},
"hsl": {
"h": 232.5,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.52906,
"c": 0.15238,
"h": 273.9
},
"luminance": 0.14055
}Semantic roles & 50–950 ramp
primary
#5260C2
secondary
#D0CAA0
accent
#C750D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83