#5261AF#5261AF
#5261AF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.124 H 273.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5261AF |
|---|---|
| RGB | rgb(82, 97, 175) |
| HSL | hsl(230, 37%, 50%) |
| HSV | hsv(230, 53%, 69%) |
| CMYK | cmyk(53.1%, 44.6%, 0%, 31.4%) |
| CIE-LAB | lab(43.41, 17.01, -43.53) |
| CIE-LCH | lch(43.41, 46.73, 291.35°) |
| OKLab | oklab(51.85% 0.0068 -0.1237) |
| OKLCH | oklch(51.85% 0.124 273.2) |
| XYZ | xyz(15.4897, 13.4373, 42.3266) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.55
French Blue
#436BAD
ΔE00 5.74
Denim Blue
#3B5B92
ΔE00 6.06
Iris
#6258C4
ΔE00 6.08
Dark Periwinkle
#665FD1
ΔE00 6.62
Warm Blue
#4B57DB
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5261AF #AFA052
analogous
#528FAF #5261AF #7252AF
triadic
#5261AF #AF5261 #61AF52
tetradic
#5261AF #AF528F #AFA052 #52AF72
square
#5261AF #AF528F #AFA052 #52AF72
split-complementary
#5261AF #AF7252 #8FAF52
monochromatic
#2B335C #3E4A86 #5261AF #7C87C2 #A6ADD6
Accessibility & contrast
On white
5.69
#5261AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5261AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5261AF
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5261AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5261AF | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#3563AD
Tritanopia (blue-blind)
#27727F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5261af; /* rgb */ color: rgb(82, 97, 175); /* oklch */ color: oklch(51.9% 0.124 273.2);
Tailwind
colors: {
custom: {
50: '#898dc7',
500: '#5261af',
950: '#000000',
},
}SCSS
$custom: #5261af; $custom-light: #898dc7; $custom-dark: #000000;
JSON
{
"hex": "#5261af",
"rgb": {
"r": 82,
"g": 97,
"b": 175
},
"hsl": {
"h": 230.323,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.51853,
"c": 0.12387,
"h": 273.2
},
"luminance": 0.13438
}Semantic roles & 50–950 ramp
primary
#5261AF
secondary
#C3BC9A
accent
#BA5BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82