#5261CB#5261CB
#5261CB is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.7% C 0.164 H 273.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5261CB |
|---|---|
| RGB | rgb(82, 97, 203) |
| HSL | hsl(233, 54%, 56%) |
| HSV | hsv(233, 60%, 80%) |
| CMYK | cmyk(59.6%, 52.2%, 0%, 20.4%) |
| CIE-LAB | lab(45.16, 26.32, -57.00) |
| CIE-LCH | lch(45.16, 62.78, 294.79°) |
| OKLab | oklab(53.73% 0.0101 -0.1633) |
| OKLCH | oklch(53.73% 0.164 273.5) |
| XYZ | xyz(18.5303, 14.6536, 58.3403) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.78
Dark Periwinkle
#665FD1
ΔE00 3.92
Royal Blue
#4169E1
ΔE00 4.63
Iris
#6258C4
ΔE00 4.71
Slate Blue
#6A5ACD
ΔE00 5.34
Azul
#1D5DEC
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5261CB #CBBC52
analogous
#529DCB #5261CB #7F52CB
triadic
#5261CB #CB5261 #61CB52
tetradic
#5261CB #CB529D #CBBC52 #52CB7F
square
#5261CB #CB529D #CBBC52 #52CB7F
split-complementary
#5261CB #CB7F52 #9DCB52
monochromatic
#26307D #3443AC #5261CB #818CD9 #B0B7E7
Accessibility & contrast
On white
5.34
#5261CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#5261CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5261CB
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5261CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5261CB | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5261cb; /* rgb */ color: rgb(82, 97, 203); /* oklch */ color: oklch(53.7% 0.164 273.5);
Tailwind
colors: {
custom: {
50: '#8d8ddb',
500: '#5261cb',
950: '#000000',
},
}SCSS
$custom: #5261cb; $custom-light: #8d8ddb; $custom-dark: #000000;
JSON
{
"hex": "#5261cb",
"rgb": {
"r": 82,
"g": 97,
"b": 203
},
"hsl": {
"h": 232.562,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.53733,
"c": 0.1636,
"h": 273.5
},
"luminance": 0.14655
}Semantic roles & 50–950 ramp
primary
#5261CB
secondary
#D5CFA3
accent
#CB4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83