#5262C1#5262C1
#5262C1 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.148 H 273.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5262C1 |
|---|---|
| RGB | rgb(82, 98, 193) |
| HSL | hsl(231, 47%, 54%) |
| HSV | hsv(231, 58%, 76%) |
| CMYK | cmyk(57.5%, 49.2%, 0%, 24.3%) |
| CIE-LAB | lab(44.77, 22.34, -51.85) |
| CIE-LCH | lch(44.77, 56.46, 293.31°) |
| OKLab | oklab(53.24% 0.0081 -0.1481) |
| OKLCH | oklch(53.24% 0.148 273.1) |
| XYZ | xyz(17.4698, 14.3782, 52.2964) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.79
Warm Blue
#4B57DB
ΔE00 4.99
Iris
#6258C4
ΔE00 5.13
Royal Blue
#4169E1
ΔE00 5.28
Cornflower Blue
#5170D7
ΔE00 5.79
Slate Blue
#6A5ACD
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5262C1 #C1B152
analogous
#529AC1 #5262C1 #7A52C1
triadic
#5262C1 #C15262 #62C152
tetradic
#5262C1 #C1529A #C1B152 #52C17A
square
#5262C1 #C1529A #C1B152 #52C17A
split-complementary
#5262C1 #C17A52 #9AC152
monochromatic
#283370 #38479D #5262C1 #7F8BD1 #ACB4E1
Accessibility & contrast
On white
5.42
#5262C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#5262C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5262C1
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5262C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5262C1 | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326FC4
Deuteranopia (green-blind)
#2065BF
Tritanopia (blue-blind)
#047788
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5262c1; /* rgb */ color: rgb(82, 98, 193); /* oklch */ color: oklch(53.2% 0.148 273.1);
Tailwind
colors: {
custom: {
50: '#8c8ed4',
500: '#5262c1',
950: '#000000',
},
}SCSS
$custom: #5262c1; $custom-light: #8c8ed4; $custom-dark: #000000;
JSON
{
"hex": "#5262c1",
"rgb": {
"r": 82,
"g": 98,
"b": 193
},
"hsl": {
"h": 231.351,
"s": 47.234,
"l": 53.922
},
"oklch": {
"l": 0.53235,
"c": 0.14835,
"h": 273.1
},
"luminance": 0.14379
}Semantic roles & 50–950 ramp
primary
#5262C1
secondary
#CFC8A0
accent
#C451D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83