#5262C2#5262C2
#5262C2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.3% C 0.150 H 273.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5262C2 |
|---|---|
| RGB | rgb(82, 98, 194) |
| HSL | hsl(231, 48%, 54%) |
| HSV | hsv(231, 58%, 76%) |
| CMYK | cmyk(57.7%, 49.5%, 0%, 23.9%) |
| CIE-LAB | lab(44.83, 22.68, -52.33) |
| CIE-LCH | lch(44.83, 57.03, 293.43°) |
| OKLab | oklab(53.3% 0.0083 -0.1495) |
| OKLCH | oklch(53.3% 0.15 273.2) |
| XYZ | xyz(17.5818, 14.4229, 52.8859) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.70
Warm Blue
#4B57DB
ΔE00 4.89
Iris
#6258C4
ΔE00 5.10
Royal Blue
#4169E1
ΔE00 5.18
Cornflower Blue
#5170D7
ΔE00 5.73
Slate Blue
#6A5ACD
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5262C2 #C2B252
analogous
#529AC2 #5262C2 #7A52C2
triadic
#5262C2 #C25262 #62C252
tetradic
#5262C2 #C2529A #C2B252 #52C27A
square
#5262C2 #C2529A #C2B252 #52C27A
split-complementary
#5262C2 #C27A52 #9AC252
monochromatic
#283372 #38479F #5262C2 #7F8BD2 #ACB4E2
Accessibility & contrast
On white
5.41
#5262C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#5262C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5262C2
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5262C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5262C2 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316FC5
Deuteranopia (green-blind)
#1E65C0
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5262c2; /* rgb */ color: rgb(82, 98, 194); /* oklch */ color: oklch(53.3% 0.150 273.2);
Tailwind
colors: {
custom: {
50: '#8c8ed5',
500: '#5262c2',
950: '#000000',
},
}SCSS
$custom: #5262c2; $custom-light: #8c8ed5; $custom-dark: #000000;
JSON
{
"hex": "#5262c2",
"rgb": {
"r": 82,
"g": 98,
"b": 194
},
"hsl": {
"h": 231.429,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.53302,
"c": 0.14976,
"h": 273.2
},
"luminance": 0.14424
}Semantic roles & 50–950 ramp
primary
#5262C2
secondary
#D0C9A0
accent
#C450D7
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83