#5267E3#5267E3
#5267E3 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.189 H 271.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5267E3 |
|---|---|
| RGB | rgb(82, 103, 227) |
| HSL | hsl(231, 72%, 61%) |
| HSV | hsv(231, 64%, 89%) |
| CMYK | cmyk(63.9%, 54.6%, 0%, 11%) |
| CIE-LAB | lab(48.31, 30.69, -65.58) |
| CIE-LCH | lch(48.31, 72.40, 295.08°) |
| OKLab | oklab(56.62% 0.0058 -0.1885) |
| OKLCH | oklch(56.62% 0.189 271.8) |
| XYZ | xyz(22.1904, 17.0384, 74.7775) |
| Luminance | 0.1704 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.61
Cornflower Blue
#5170D7
ΔE00 3.64
Bright Blue
#0165FC
ΔE00 4.78
Azul
#1D5DEC
ΔE00 4.90
Dark Periwinkle
#665FD1
ΔE00 5.08
Warm Blue
#4B57DB
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5267E3 #E3CE52
analogous
#52B0E3 #5267E3 #8552E3
triadic
#5267E3 #E35267 #67E352
tetradic
#5267E3 #E352B0 #E3CE52 #52E385
square
#5267E3 #E352B0 #E3CE52 #52E385
split-complementary
#5267E3 #E38552 #B0E352
monochromatic
#1A2DA1 #233CD5 #5267E3 #8795EC #BBC4F4
Accessibility & contrast
On white
4.76
#5267E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#5267E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5267E3
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5267E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5267E3 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#00859B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5267e3; /* rgb */ color: rgb(82, 103, 227); /* oklch */ color: oklch(56.6% 0.189 271.8);
Tailwind
colors: {
custom: {
50: '#9192ed',
500: '#5267e3',
950: '#000000',
},
}SCSS
$custom: #5267e3; $custom-light: #9192ed; $custom-dark: #000000;
JSON
{
"hex": "#5267e3",
"rgb": {
"r": 82,
"g": 103,
"b": 227
},
"hsl": {
"h": 231.31,
"s": 72.139,
"l": 60.588
},
"oklch": {
"l": 0.56618,
"c": 0.18855,
"h": 271.8
},
"luminance": 0.1704
}Semantic roles & 50–950 ramp
primary
#5267E3
secondary
#E4DCAD
accent
#B811D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84