#5261BF#5261BF
#5261BF is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.9% C 0.147 H 273.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #5261BF |
|---|---|
| RGB | rgb(82, 97, 191) |
| HSL | hsl(232, 46%, 54%) |
| HSV | hsv(232, 57%, 75%) |
| CMYK | cmyk(57.1%, 49.2%, 0%, 25.1%) |
| CIE-LAB | lab(44.38, 22.30, -51.32) |
| CIE-LCH | lch(44.38, 55.95, 293.49°) |
| OKLab | oklab(52.9% 0.009 -0.1466) |
| OKLCH | oklch(52.9% 0.147 273.5) |
| XYZ | xyz(17.1553, 14.1036, 51.0984) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.83
Iris
#6258C4
ΔE00 4.91
Warm Blue
#4B57DB
ΔE00 4.99
Royal Blue
#4169E1
ΔE00 5.69
Slate Blue
#6A5ACD
ΔE00 5.97
French Blue
#436BAD
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5261BF #BFB052
analogous
#5297BF #5261BF #7952BF
triadic
#5261BF #BF5261 #61BF52
tetradic
#5261BF #BF5297 #BFB052 #52BF79
square
#5261BF #BF5297 #BFB052 #52BF79
split-complementary
#5261BF #BF7952 #97BF52
monochromatic
#29326E #39479B #5261BF #7F8AD0 #ABB3E0
Accessibility & contrast
On white
5.50
#5261BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#5261BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5261BF
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5261BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5261BF | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#2164BD
Tritanopia (blue-blind)
#0C7687
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5261bf; /* rgb */ color: rgb(82, 97, 191); /* oklch */ color: oklch(52.9% 0.147 273.5);
Tailwind
colors: {
custom: {
50: '#8b8dd3',
500: '#5261bf',
950: '#000000',
},
}SCSS
$custom: #5261bf; $custom-light: #8b8dd3; $custom-dark: #000000;
JSON
{
"hex": "#5261bf",
"rgb": {
"r": 82,
"g": 97,
"b": 191
},
"hsl": {
"h": 231.743,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.52899,
"c": 0.14685,
"h": 273.5
},
"luminance": 0.14105
}Semantic roles & 50–950 ramp
primary
#5261BF
secondary
#CEC79F
accent
#C452D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83