#5262D4#5262D4
#5262D4 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.175 H 273.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5262D4 |
|---|---|
| RGB | rgb(82, 98, 212) |
| HSL | hsl(233, 60%, 58%) |
| HSV | hsv(233, 61%, 83%) |
| CMYK | cmyk(61.3%, 53.8%, 0%, 16.9%) |
| CIE-LAB | lab(46.02, 28.72, -60.77) |
| CIE-LCH | lch(46.02, 67.22, 295.30°) |
| OKLab | oklab(54.57% 0.0097 -0.1744) |
| OKLCH | oklch(54.57% 0.175 273.2) |
| XYZ | xyz(19.7271, 15.2811, 64.1846) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.57
Dark Periwinkle
#665FD1
ΔE00 3.78
Royal Blue
#4169E1
ΔE00 3.85
Azul
#1D5DEC
ΔE00 4.76
Cornflower Blue
#5170D7
ΔE00 5.03
Iris
#6258C4
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5262D4 #D4C452
analogous
#52A3D4 #5262D4 #8352D4
triadic
#5262D4 #D45262 #62D452
tetradic
#5262D4 #D452A3 #D4C452 #52D483
square
#5262D4 #D452A3 #D4C452 #52D483
split-complementary
#5262D4 #D48352 #A3D452
monochromatic
#222F89 #2E40BA #5262D4 #838EE0 #B4BBEC
Accessibility & contrast
On white
5.18
#5262D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#5262D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5262D4
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5262D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5262D4 | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1373D8
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#007D91
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5262d4; /* rgb */ color: rgb(82, 98, 212); /* oklch */ color: oklch(54.6% 0.175 273.2);
Tailwind
colors: {
custom: {
50: '#8f8ee2',
500: '#5262d4',
950: '#000000',
},
}SCSS
$custom: #5262d4; $custom-light: #8f8ee2; $custom-dark: #000000;
JSON
{
"hex": "#5262d4",
"rgb": {
"r": 82,
"g": 98,
"b": 212
},
"hsl": {
"h": 232.615,
"s": 60.185,
"l": 57.647
},
"oklch": {
"l": 0.54572,
"c": 0.17464,
"h": 273.2
},
"luminance": 0.15283
}Semantic roles & 50–950 ramp
primary
#5262D4
secondary
#DBD5A7
accent
#D044E3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83