#5262CA#5262CA
#5262CA is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.9% C 0.161 H 273.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5262CA |
|---|---|
| RGB | rgb(82, 98, 202) |
| HSL | hsl(232, 53%, 56%) |
| HSV | hsv(232, 59%, 79%) |
| CMYK | cmyk(59.4%, 51.5%, 0%, 20.8%) |
| CIE-LAB | lab(45.35, 25.36, -56.12) |
| CIE-LCH | lch(45.35, 61.58, 294.32°) |
| OKLab | oklab(53.86% 0.009 -0.1607) |
| OKLCH | oklch(53.86% 0.161 273.2) |
| XYZ | xyz(18.5045, 14.7920, 57.7457) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.13
Warm Blue
#4B57DB
ΔE00 4.14
Royal Blue
#4169E1
ΔE00 4.46
Iris
#6258C4
ΔE00 4.99
Cornflower Blue
#5170D7
ΔE00 5.29
Azul
#1D5DEC
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5262CA #CABA52
analogous
#529ECA #5262CA #7E52CA
triadic
#5262CA #CA5262 #62CA52
tetradic
#5262CA #CA529E #CABA52 #52CA7E
square
#5262CA #CA529E #CABA52 #52CA7E
split-complementary
#5262CA #CA7E52 #9ECA52
monochromatic
#26317C #3444AB #5262CA #818DD8 #B0B7E7
Accessibility & contrast
On white
5.30
#5262CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#5262CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5262CA
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5262CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5262CA | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#0566C8
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5262ca; /* rgb */ color: rgb(82, 98, 202); /* oklch */ color: oklch(53.9% 0.161 273.2);
Tailwind
colors: {
custom: {
50: '#8d8edb',
500: '#5262ca',
950: '#000000',
},
}SCSS
$custom: #5262ca; $custom-light: #8d8edb; $custom-dark: #000000;
JSON
{
"hex": "#5262ca",
"rgb": {
"r": 82,
"g": 98,
"b": 202
},
"hsl": {
"h": 232,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.53856,
"c": 0.16093,
"h": 273.2
},
"luminance": 0.14793
}Semantic roles & 50–950 ramp
primary
#5262CA
secondary
#D5CEA3
accent
#C94BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83