#5A67E2#5A67E2
#5A67E2 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.0% C 0.185 H 274.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5A67E2 |
|---|---|
| RGB | rgb(90, 103, 226) |
| HSL | hsl(234, 70%, 62%) |
| HSV | hsv(234, 60%, 89%) |
| CMYK | cmyk(60.2%, 54.4%, 0%, 11.4%) |
| CIE-LAB | lab(48.71, 31.68, -64.33) |
| CIE-LCH | lch(48.71, 71.71, 296.22°) |
| OKLab | oklab(57.03% 0.0142 -0.1846) |
| OKLCH | oklch(57.03% 0.185 274.4) |
| XYZ | xyz(22.7897, 17.3633, 74.0873) |
| Luminance | 0.1736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.74
Cornflower Blue
#5170D7
ΔE00 4.21
Dark Periwinkle
#665FD1
ΔE00 4.27
Warm Blue
#4B57DB
ΔE00 5.37
Azul
#1D5DEC
ΔE00 5.84
Bright Blue
#0165FC
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A67E2 #E2D55A
analogous
#5AABE2 #5A67E2 #915AE2
triadic
#5A67E2 #E25A67 #67E25A
tetradic
#5A67E2 #E25AAB #E2D55A #5AE291
square
#5A67E2 #E25AAB #E2D55A #5AE291
split-complementary
#5A67E2 #E2915A #ABE25A
monochromatic
#1D2AA5 #2637D9 #5A67E2 #8E97EB #C2C7F4
Accessibility & contrast
On white
4.69
#5A67E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#5A67E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A67E2
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A67E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A67E2 | 1.00 | 4.69 | 4.47 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#087AE6
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5a67e2; /* rgb */ color: rgb(90, 103, 226); /* oklch */ color: oklch(57.0% 0.185 274.4);
Tailwind
colors: {
custom: {
50: '#9592ec',
500: '#5a67e2',
950: '#000000',
},
}SCSS
$custom: #5a67e2; $custom-light: #9592ec; $custom-dark: #000000;
JSON
{
"hex": "#5a67e2",
"rgb": {
"r": 90,
"g": 103,
"b": 226
},
"hsl": {
"h": 234.265,
"s": 70.103,
"l": 61.961
},
"oklch": {
"l": 0.57026,
"c": 0.18515,
"h": 274.4
},
"luminance": 0.17365
}Semantic roles & 50–950 ramp
primary
#5A67E2
secondary
#E5E0B3
accent
#C013D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84