#5262CB#5262CB
#5262CB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.9% C 0.162 H 273.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5262CB |
|---|---|
| RGB | rgb(82, 98, 203) |
| HSL | hsl(232, 54%, 56%) |
| HSV | hsv(232, 60%, 80%) |
| CMYK | cmyk(59.6%, 51.7%, 0%, 20.4%) |
| CIE-LAB | lab(45.41, 25.69, -56.59) |
| CIE-LCH | lch(45.41, 62.15, 294.42°) |
| OKLab | oklab(53.93% 0.0091 -0.1621) |
| OKLCH | oklch(53.93% 0.162 273.2) |
| XYZ | xyz(18.6233, 14.8395, 58.3713) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.07
Dark Periwinkle
#665FD1
ΔE00 4.07
Royal Blue
#4169E1
ΔE00 4.38
Iris
#6258C4
ΔE00 4.99
Cornflower Blue
#5170D7
ΔE00 5.25
Azul
#1D5DEC
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5262CB #CBBB52
analogous
#529ECB #5262CB #7E52CB
triadic
#5262CB #CB5262 #62CB52
tetradic
#5262CB #CB529E #CBBB52 #52CB7E
square
#5262CB #CB529E #CBBB52 #52CB7E
split-complementary
#5262CB #CB7E52 #9ECB52
monochromatic
#26317D #3444AC #5262CB #818DD9 #B0B7E7
Accessibility & contrast
On white
5.29
#5262CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#5262CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5262CB
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5262CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5262CB | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2671CF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#007A8D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5262cb; /* rgb */ color: rgb(82, 98, 203); /* oklch */ color: oklch(53.9% 0.162 273.2);
Tailwind
colors: {
custom: {
50: '#8d8edb',
500: '#5262cb',
950: '#000000',
},
}SCSS
$custom: #5262cb; $custom-light: #8d8edb; $custom-dark: #000000;
JSON
{
"hex": "#5262cb",
"rgb": {
"r": 82,
"g": 98,
"b": 203
},
"hsl": {
"h": 232.066,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.53927,
"c": 0.16231,
"h": 273.2
},
"luminance": 0.14841
}Semantic roles & 50–950 ramp
primary
#5262CB
secondary
#D5CFA3
accent
#CA4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83