#5262CD#5262CD
#5262CD is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.1% C 0.165 H 273.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5262CD |
|---|---|
| RGB | rgb(82, 98, 205) |
| HSL | hsl(232, 55%, 56%) |
| HSV | hsv(232, 60%, 80%) |
| CMYK | cmyk(60%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(45.55, 26.37, -57.52) |
| CIE-LCH | lch(45.55, 63.28, 294.63°) |
| OKLab | oklab(54.07% 0.0092 -0.1648) |
| OKLCH | oklch(54.07% 0.165 273.2) |
| XYZ | xyz(18.8632, 14.9355, 59.6346) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.92
Dark Periwinkle
#665FD1
ΔE00 3.97
Royal Blue
#4169E1
ΔE00 4.24
Iris
#6258C4
ΔE00 5.01
Cornflower Blue
#5170D7
ΔE00 5.18
Azul
#1D5DEC
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5262CD #CDBD52
analogous
#52A0CD #5262CD #8052CD
triadic
#5262CD #CD5262 #62CD52
tetradic
#5262CD #CD52A0 #CDBD52 #52CD80
square
#5262CD #CD52A0 #CDBD52 #52CD80
split-complementary
#5262CD #CD8052 #A0CD52
monochromatic
#253180 #3343AF #5262CD #818DDB #B1B8E8
Accessibility & contrast
On white
5.27
#5262CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#5262CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5262CD
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5262CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5262CD | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5262cd; /* rgb */ color: rgb(82, 98, 205); /* oklch */ color: oklch(54.1% 0.165 273.2);
Tailwind
colors: {
custom: {
50: '#8e8edd',
500: '#5262cd',
950: '#000000',
},
}SCSS
$custom: #5262cd; $custom-light: #8e8edd; $custom-dark: #000000;
JSON
{
"hex": "#5262cd",
"rgb": {
"r": 82,
"g": 98,
"b": 205
},
"hsl": {
"h": 232.195,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.54068,
"c": 0.16507,
"h": 273.2
},
"luminance": 0.14937
}Semantic roles & 50–950 ramp
primary
#5262CD
secondary
#D7D0A4
accent
#CB49DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83