#5262C0#5262C0
#5262C0 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.147 H 273.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5262C0 |
|---|---|
| RGB | rgb(82, 98, 192) |
| HSL | hsl(231, 47%, 54%) |
| HSV | hsv(231, 57%, 75%) |
| CMYK | cmyk(57.3%, 49%, 0%, 24.7%) |
| CIE-LAB | lab(44.71, 22.01, -51.37) |
| CIE-LCH | lch(44.71, 55.89, 293.19°) |
| OKLab | oklab(53.17% 0.008 -0.1467) |
| OKLCH | oklch(53.17% 0.147 273.1) |
| XYZ | xyz(17.3587, 14.3337, 51.7109) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.88
Warm Blue
#4B57DB
ΔE00 5.10
Iris
#6258C4
ΔE00 5.17
Royal Blue
#4169E1
ΔE00 5.38
Cornflower Blue
#5170D7
ΔE00 5.86
French Blue
#436BAD
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5262C0 #C0B052
analogous
#5299C0 #5262C0 #7952C0
triadic
#5262C0 #C05262 #62C052
tetradic
#5262C0 #C05299 #C0B052 #52C079
square
#5262C0 #C05299 #C0B052 #52C079
split-complementary
#5262C0 #C07952 #99C052
monochromatic
#28336F #39479C #5262C0 #7F8BD0 #ACB3E1
Accessibility & contrast
On white
5.43
#5262C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#5262C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5262C0
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5262C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5262C0 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336FC3
Deuteranopia (green-blind)
#2265BE
Tritanopia (blue-blind)
#087788
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5262c0; /* rgb */ color: rgb(82, 98, 192); /* oklch */ color: oklch(53.2% 0.147 273.1);
Tailwind
colors: {
custom: {
50: '#8b8ed4',
500: '#5262c0',
950: '#000000',
},
}SCSS
$custom: #5262c0; $custom-light: #8b8ed4; $custom-dark: #000000;
JSON
{
"hex": "#5262c0",
"rgb": {
"r": 82,
"g": 98,
"b": 192
},
"hsl": {
"h": 231.273,
"s": 46.61,
"l": 53.725
},
"oklch": {
"l": 0.53167,
"c": 0.14694,
"h": 273.1
},
"luminance": 0.14335
}Semantic roles & 50–950 ramp
primary
#5262C0
secondary
#CEC89F
accent
#C352D6
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83