#5268E5#5268E5
#5268E5 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.0% C 0.190 H 271.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5268E5 |
|---|---|
| RGB | rgb(82, 104, 229) |
| HSL | hsl(231, 74%, 61%) |
| HSV | hsv(231, 64%, 90%) |
| CMYK | cmyk(64.2%, 54.6%, 0%, 10.2%) |
| CIE-LAB | lab(48.70, 30.75, -66.08) |
| CIE-LCH | lch(48.70, 72.88, 294.95°) |
| OKLab | oklab(56.95% 0.005 -0.1899) |
| OKLCH | oklch(56.95% 0.19 271.5) |
| XYZ | xyz(22.5681, 17.3496, 76.2730) |
| Luminance | 0.1735 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.56
Cornflower Blue
#5170D7
ΔE00 3.46
Bright Blue
#0165FC
ΔE00 4.68
Azul
#1D5DEC
ΔE00 5.09
Dark Periwinkle
#665FD1
ΔE00 5.40
Warm Blue
#4B57DB
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5268E5 #E5CF52
analogous
#52B2E5 #5268E5 #8552E5
triadic
#5268E5 #E55268 #68E552
tetradic
#5268E5 #E552B2 #E5CF52 #52E585
square
#5268E5 #E552B2 #E5CF52 #52E585
split-complementary
#5268E5 #E58552 #B2E552
monochromatic
#192DA4 #213CD9 #5268E5 #8796ED #BCC5F5
Accessibility & contrast
On white
4.70
#5268E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#5268E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5268E5
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5268E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5268E5 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#00869C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5268e5; /* rgb */ color: rgb(82, 104, 229); /* oklch */ color: oklch(57.0% 0.190 271.5);
Tailwind
colors: {
custom: {
50: '#9192ee',
500: '#5268e5',
950: '#000000',
},
}SCSS
$custom: #5268e5; $custom-light: #9192ee; $custom-dark: #000000;
JSON
{
"hex": "#5268e5",
"rgb": {
"r": 82,
"g": 104,
"b": 229
},
"hsl": {
"h": 231.02,
"s": 73.869,
"l": 60.98
},
"oklch": {
"l": 0.56954,
"c": 0.18998,
"h": 271.5
},
"luminance": 0.17352
}Semantic roles & 50–950 ramp
primary
#5268E5
secondary
#E5DDAE
accent
#B810D6
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84