#5261CA#5261CA
#5261CA is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.162 H 273.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5261CA |
|---|---|
| RGB | rgb(82, 97, 202) |
| HSL | hsl(233, 53%, 56%) |
| HSV | hsv(233, 59%, 79%) |
| CMYK | cmyk(59.4%, 52%, 0%, 20.8%) |
| CIE-LAB | lab(45.09, 25.98, -56.53) |
| CIE-LCH | lch(45.09, 62.22, 294.69°) |
| OKLab | oklab(53.66% 0.01 -0.1619) |
| OKLCH | oklch(53.66% 0.162 273.5) |
| XYZ | xyz(18.4115, 14.6061, 57.7147) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.87
Dark Periwinkle
#665FD1
ΔE00 3.97
Iris
#6258C4
ΔE00 4.70
Royal Blue
#4169E1
ΔE00 4.70
Slate Blue
#6A5ACD
ΔE00 5.38
Azul
#1D5DEC
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5261CA #CABB52
analogous
#529DCA #5261CA #7F52CA
triadic
#5261CA #CA5261 #61CA52
tetradic
#5261CA #CA529D #CABB52 #52CA7F
square
#5261CA #CA529D #CABB52 #52CA7F
split-complementary
#5261CA #CA7F52 #9DCA52
monochromatic
#26317C #3443AB #5261CA #818CD8 #B0B7E7
Accessibility & contrast
On white
5.36
#5261CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#5261CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5261CA
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5261CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5261CA | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5261ca; /* rgb */ color: rgb(82, 97, 202); /* oklch */ color: oklch(53.7% 0.162 273.5);
Tailwind
colors: {
custom: {
50: '#8d8ddb',
500: '#5261ca',
950: '#000000',
},
}SCSS
$custom: #5261ca; $custom-light: #8d8ddb; $custom-dark: #000000;
JSON
{
"hex": "#5261ca",
"rgb": {
"r": 82,
"g": 97,
"b": 202
},
"hsl": {
"h": 232.5,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.53662,
"c": 0.16222,
"h": 273.5
},
"luminance": 0.14607
}Semantic roles & 50–950 ramp
primary
#5261CA
secondary
#D5CFA3
accent
#CA4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83