#5A67DC#5A67DC
#5A67DC is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.177 H 274.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5A67DC |
|---|---|
| RGB | rgb(90, 103, 220) |
| HSL | hsl(234, 65%, 61%) |
| HSV | hsv(234, 59%, 86%) |
| CMYK | cmyk(59.1%, 53.2%, 0%, 13.7%) |
| CIE-LAB | lab(48.31, 29.71, -61.59) |
| CIE-LCH | lch(48.31, 68.38, 295.75°) |
| OKLab | oklab(56.59% 0.0139 -0.1765) |
| OKLCH | oklch(56.59% 0.177 274.5) |
| XYZ | xyz(21.9807, 17.0398, 69.8270) |
| Luminance | 0.1704 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.65
Dark Periwinkle
#665FD1
ΔE00 3.97
Cornflower Blue
#5170D7
ΔE00 3.98
Warm Blue
#4B57DB
ΔE00 5.22
Azul
#1D5DEC
ΔE00 5.87
Slate Blue
#6A5ACD
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A67DC #DCCF5A
analogous
#5AA8DC #5A67DC #8E5ADC
triadic
#5A67DC #DC5A67 #67DC5A
tetradic
#5A67DC #DC5AA8 #DCCF5A #5ADC8E
square
#5A67DC #DC5AA8 #DCCF5A #5ADC8E
split-complementary
#5A67DC #DC8E5A #A8DC5A
monochromatic
#212D9B #2C3CCD #5A67DC #8C96E7 #BFC4F1
Accessibility & contrast
On white
4.76
#5A67DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#5A67DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A67DC
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A67DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A67DC | 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)
#1C78E0
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5a67dc; /* rgb */ color: rgb(90, 103, 220); /* oklch */ color: oklch(56.6% 0.177 274.5);
Tailwind
colors: {
custom: {
50: '#9492e8',
500: '#5a67dc',
950: '#000000',
},
}SCSS
$custom: #5a67dc; $custom-light: #9492e8; $custom-dark: #000000;
JSON
{
"hex": "#5a67dc",
"rgb": {
"r": 90,
"g": 103,
"b": 220
},
"hsl": {
"h": 234,
"s": 65,
"l": 60.784
},
"oklch": {
"l": 0.56594,
"c": 0.17708,
"h": 274.5
},
"luminance": 0.17041
}Semantic roles & 50–950 ramp
primary
#5A67DC
secondary
#E2DDB0
accent
#BB19CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84