#5262C8#5262C8
#5262C8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.7% C 0.158 H 273.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5262C8 |
|---|---|
| RGB | rgb(82, 98, 200) |
| HSL | hsl(232, 52%, 55%) |
| HSV | hsv(232, 59%, 78%) |
| CMYK | cmyk(59%, 51%, 0%, 21.6%) |
| CIE-LAB | lab(45.22, 24.69, -55.17) |
| CIE-LCH | lch(45.22, 60.45, 294.11°) |
| OKLab | oklab(53.72% 0.0088 -0.1579) |
| OKLCH | oklch(53.72% 0.158 273.2) |
| XYZ | xyz(18.2693, 14.6979, 56.5066) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.25
Warm Blue
#4B57DB
ΔE00 4.31
Royal Blue
#4169E1
ΔE00 4.63
Iris
#6258C4
ΔE00 4.99
Cornflower Blue
#5170D7
ΔE00 5.38
Azul
#1D5DEC
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5262C8 #C8B852
analogous
#529DC8 #5262C8 #7D52C8
triadic
#5262C8 #C85262 #62C852
tetradic
#5262C8 #C8529D #C8B852 #52C87D
square
#5262C8 #C8529D #C8B852 #52C87D
split-complementary
#5262C8 #C87D52 #9DC852
monochromatic
#273279 #3545A8 #5262C8 #808CD7 #AFB6E6
Accessibility & contrast
On white
5.33
#5262C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#5262C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5262C8
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5262C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5262C8 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A70CC
Deuteranopia (green-blind)
#0E66C6
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5262c8; /* rgb */ color: rgb(82, 98, 200); /* oklch */ color: oklch(53.7% 0.158 273.2);
Tailwind
colors: {
custom: {
50: '#8d8ed9',
500: '#5262c8',
950: '#000000',
},
}SCSS
$custom: #5262c8; $custom-light: #8d8ed9; $custom-dark: #000000;
JSON
{
"hex": "#5262c8",
"rgb": {
"r": 82,
"g": 98,
"b": 200
},
"hsl": {
"h": 231.864,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.53716,
"c": 0.15816,
"h": 273.2
},
"luminance": 0.14699
}Semantic roles & 50–950 ramp
primary
#5262C8
secondary
#D4CDA2
accent
#C84DDB
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83