#5261BE#5261BE
#5261BE is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.8% C 0.145 H 273.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #5261BE |
|---|---|
| RGB | rgb(82, 97, 190) |
| HSL | hsl(232, 45%, 53%) |
| HSV | hsv(232, 57%, 75%) |
| CMYK | cmyk(56.8%, 48.9%, 0%, 25.5%) |
| CIE-LAB | lab(44.32, 21.97, -50.84) |
| CIE-LCH | lch(44.32, 55.38, 293.37°) |
| OKLab | oklab(52.83% 0.0089 -0.1452) |
| OKLCH | oklch(52.83% 0.145 273.5) |
| XYZ | xyz(17.0456, 14.0597, 50.5208) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.92
Iris
#6258C4
ΔE00 4.96
Warm Blue
#4B57DB
ΔE00 5.11
Royal Blue
#4169E1
ΔE00 5.79
Slate Blue
#6A5ACD
ΔE00 6.04
French Blue
#436BAD
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5261BE #BEAF52
analogous
#5297BE #5261BE #7952BE
triadic
#5261BE #BE5261 #61BE52
tetradic
#5261BE #BE5297 #BEAF52 #52BE79
square
#5261BE #BE5297 #BEAF52 #52BE79
split-complementary
#5261BE #BE7952 #97BE52
monochromatic
#29326D #3A4799 #5261BE #7E8ACF #ABB2DF
Accessibility & contrast
On white
5.51
#5261BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#5261BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5261BE
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5261BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5261BE | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336EC1
Deuteranopia (green-blind)
#2364BC
Tritanopia (blue-blind)
#0F7686
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5261be; /* rgb */ color: rgb(82, 97, 190); /* oklch */ color: oklch(52.8% 0.145 273.5);
Tailwind
colors: {
custom: {
50: '#8b8dd2',
500: '#5261be',
950: '#000000',
},
}SCSS
$custom: #5261be; $custom-light: #8b8dd2; $custom-dark: #000000;
JSON
{
"hex": "#5261be",
"rgb": {
"r": 82,
"g": 97,
"b": 190
},
"hsl": {
"h": 231.667,
"s": 45.378,
"l": 53.333
},
"oklch": {
"l": 0.52832,
"c": 0.14543,
"h": 273.5
},
"luminance": 0.14061
}Semantic roles & 50–950 ramp
primary
#5261BE
secondary
#CDC79F
accent
#C353D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83