#5261C5#5261C5
#5261C5 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.155 H 273.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5261C5 |
|---|---|
| RGB | rgb(82, 97, 197) |
| HSL | hsl(232, 50%, 55%) |
| HSV | hsv(232, 58%, 77%) |
| CMYK | cmyk(58.4%, 50.8%, 0%, 22.7%) |
| CIE-LAB | lab(44.76, 24.31, -54.18) |
| CIE-LCH | lch(44.76, 59.38, 294.17°) |
| OKLab | oklab(53.31% 0.0096 -0.155) |
| OKLCH | oklch(53.31% 0.155 273.5) |
| XYZ | xyz(17.8291, 14.3731, 54.6473) |
| Luminance | 0.1437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.31
Warm Blue
#4B57DB
ΔE00 4.33
Iris
#6258C4
ΔE00 4.73
Royal Blue
#4169E1
ΔE00 5.11
Slate Blue
#6A5ACD
ΔE00 5.60
Cornflower Blue
#5170D7
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5261C5 #C5B652
analogous
#529BC5 #5261C5 #7D52C5
triadic
#5261C5 #C55261 #61C552
tetradic
#5261C5 #C5529B #C5B652 #52C57D
square
#5261C5 #C5529B #C5B652 #52C57D
split-complementary
#5261C5 #C57D52 #9BC552
monochromatic
#273175 #3745A3 #5261C5 #808BD4 #AEB5E4
Accessibility & contrast
On white
5.42
#5261C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#5261C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5261C5
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5261C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5261C5 | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6FC9
Deuteranopia (green-blind)
#1365C3
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5261c5; /* rgb */ color: rgb(82, 97, 197); /* oklch */ color: oklch(53.3% 0.155 273.5);
Tailwind
colors: {
custom: {
50: '#8c8dd7',
500: '#5261c5',
950: '#000000',
},
}SCSS
$custom: #5261c5; $custom-light: #8c8dd7; $custom-dark: #000000;
JSON
{
"hex": "#5261c5",
"rgb": {
"r": 82,
"g": 97,
"b": 197
},
"hsl": {
"h": 232.174,
"s": 49.784,
"l": 54.706
},
"oklch": {
"l": 0.53311,
"c": 0.15528,
"h": 273.5
},
"luminance": 0.14374
}Semantic roles & 50–950 ramp
primary
#5261C5
secondary
#D2CBA1
accent
#C74ED9
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83