#5261D7#5261D7
#5261D7 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.6% C 0.180 H 273.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5261D7 |
|---|---|
| RGB | rgb(82, 97, 215) |
| HSL | hsl(233, 62%, 58%) |
| HSV | hsv(233, 62%, 84%) |
| CMYK | cmyk(61.9%, 54.9%, 0%, 15.7%) |
| CIE-LAB | lab(45.97, 30.35, -62.55) |
| CIE-LCH | lch(45.97, 69.53, 295.89°) |
| OKLab | oklab(54.6% 0.0107 -0.1796) |
| OKLCH | oklch(54.6% 0.18 273.4) |
| XYZ | xyz(20.0161, 15.2479, 66.1651) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.17
Dark Periwinkle
#665FD1
ΔE00 3.62
Royal Blue
#4169E1
ΔE00 4.02
Azul
#1D5DEC
ΔE00 4.59
Iris
#6258C4
ΔE00 5.10
Slate Blue
#6A5ACD
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5261D7 #D7C852
analogous
#52A3D7 #5261D7 #8552D7
triadic
#5261D7 #D75261 #61D752
tetradic
#5261D7 #D752A3 #D7C852 #52D785
square
#5261D7 #D752A3 #D7C852 #52D785
split-complementary
#5261D7 #D78552 #A3D752
monochromatic
#212D8E #2C3DC0 #5261D7 #848EE2 #B5BCEE
Accessibility & contrast
On white
5.19
#5261D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#5261D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5261D7
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5261D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5261D7 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DB
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5261d7; /* rgb */ color: rgb(82, 97, 215); /* oklch */ color: oklch(54.6% 0.180 273.4);
Tailwind
colors: {
custom: {
50: '#8f8de4',
500: '#5261d7',
950: '#000000',
},
}SCSS
$custom: #5261d7; $custom-light: #8f8de4; $custom-dark: #000000;
JSON
{
"hex": "#5261d7",
"rgb": {
"r": 82,
"g": 97,
"b": 215
},
"hsl": {
"h": 233.233,
"s": 62.441,
"l": 58.235
},
"oklch": {
"l": 0.54604,
"c": 0.17995,
"h": 273.4
},
"luminance": 0.1525
}Semantic roles & 50–950 ramp
primary
#5261D7
secondary
#DDD7A8
accent
#D342E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84