#5261BA#5261BA
#5261BA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.6% C 0.140 H 273.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5261BA |
|---|---|
| RGB | rgb(82, 97, 186) |
| HSL | hsl(231, 43%, 53%) |
| HSV | hsv(231, 56%, 73%) |
| CMYK | cmyk(55.9%, 47.8%, 0%, 27.1%) |
| CIE-LAB | lab(44.07, 20.64, -48.91) |
| CIE-LCH | lch(44.07, 53.09, 292.88°) |
| OKLab | oklab(52.56% 0.0084 -0.1395) |
| OKLCH | oklch(52.56% 0.14 273.5) |
| XYZ | xyz(16.6144, 13.8872, 48.2498) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.18
Dark Periwinkle
#665FD1
ΔE00 5.33
Warm Blue
#4B57DB
ΔE00 5.59
Dusky Blue
#475F94
ΔE00 5.93
French Blue
#436BAD
ΔE00 5.99
Royal Blue
#4169E1
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5261BA #BAAB52
analogous
#5295BA #5261BA #7752BA
triadic
#5261BA #BA5261 #61BA52
tetradic
#5261BA #BA5295 #BAAB52 #52BA77
square
#5261BA #BA5295 #BAAB52 #52BA77
split-complementary
#5261BA #BA7752 #95BA52
monochromatic
#2A3368 #3B4894 #5261BA #7E89CB #AAB1DD
Accessibility & contrast
On white
5.56
#5261BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#5261BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5261BA
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5261BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5261BA | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#2964B8
Tritanopia (blue-blind)
#187584
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5261ba; /* rgb */ color: rgb(82, 97, 186); /* oklch */ color: oklch(52.6% 0.140 273.5);
Tailwind
colors: {
custom: {
50: '#8b8dcf',
500: '#5261ba',
950: '#000000',
},
}SCSS
$custom: #5261ba; $custom-light: #8b8dcf; $custom-dark: #000000;
JSON
{
"hex": "#5261ba",
"rgb": {
"r": 82,
"g": 97,
"b": 186
},
"hsl": {
"h": 231.346,
"s": 42.975,
"l": 52.549
},
"oklch": {
"l": 0.52564,
"c": 0.13974,
"h": 273.5
},
"luminance": 0.13888
}Semantic roles & 50–950 ramp
primary
#5261BA
secondary
#CAC49D
accent
#C155D3
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82