#5261C8#5261C8
#5261C8 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.159 H 273.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5261C8 |
|---|---|
| RGB | rgb(82, 97, 200) |
| HSL | hsl(232, 52%, 55%) |
| HSV | hsv(232, 59%, 78%) |
| CMYK | cmyk(59%, 51.5%, 0%, 21.6%) |
| CIE-LAB | lab(44.96, 25.31, -55.59) |
| CIE-LCH | lch(44.96, 61.08, 294.48°) |
| OKLab | oklab(53.52% 0.0099 -0.1592) |
| OKLCH | oklch(53.52% 0.159 273.5) |
| XYZ | xyz(18.1763, 14.5120, 56.4756) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.04
Dark Periwinkle
#665FD1
ΔE00 4.09
Iris
#6258C4
ΔE00 4.70
Royal Blue
#4169E1
ΔE00 4.86
Slate Blue
#6A5ACD
ΔE00 5.45
Azul
#1D5DEC
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5261C8 #C8B952
analogous
#529CC8 #5261C8 #7E52C8
triadic
#5261C8 #C85261 #61C852
tetradic
#5261C8 #C8529C #C8B952 #52C87E
square
#5261C8 #C8529C #C8B952 #52C87E
split-complementary
#5261C8 #C87E52 #9CC852
monochromatic
#273179 #3544A8 #5261C8 #808BD7 #AFB6E6
Accessibility & contrast
On white
5.38
#5261C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#5261C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5261C8
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5261C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5261C8 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2770CC
Deuteranopia (green-blind)
#0765C6
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5261c8; /* rgb */ color: rgb(82, 97, 200); /* oklch */ color: oklch(53.5% 0.159 273.5);
Tailwind
colors: {
custom: {
50: '#8d8dd9',
500: '#5261c8',
950: '#000000',
},
}SCSS
$custom: #5261c8; $custom-light: #8d8dd9; $custom-dark: #000000;
JSON
{
"hex": "#5261c8",
"rgb": {
"r": 82,
"g": 97,
"b": 200
},
"hsl": {
"h": 232.373,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.5352,
"c": 0.15945,
"h": 273.5
},
"luminance": 0.14513
}Semantic roles & 50–950 ramp
primary
#5261C8
secondary
#D4CDA2
accent
#C94DDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83