#5A67B4#5A67B4
#5A67B4 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.0% C 0.121 H 274.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5A67B4 |
|---|---|
| RGB | rgb(90, 103, 180) |
| HSL | hsl(231, 38%, 53%) |
| HSV | hsv(231, 50%, 71%) |
| CMYK | cmyk(50%, 42.8%, 0%, 29.4%) |
| CIE-LAB | lab(45.86, 16.72, -42.52) |
| CIE-LCH | lch(45.86, 45.69, 291.46°) |
| OKLab | oklab(53.96% 0.0093 -0.1205) |
| OKLCH | oklch(53.96% 0.121 274.4) |
| XYZ | xyz(17.3023, 15.1684, 45.1872) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 5.71
Dusky Blue
#475F94
ΔE00 6.08
Dark Periwinkle
#665FD1
ΔE00 6.08
Cornflower Blue
#5170D7
ΔE00 6.21
Iris
#6258C4
ΔE00 6.46
Royal Blue
#4169E1
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A67B4 #B4A75A
analogous
#5A94B4 #5A67B4 #7A5AB4
triadic
#5A67B4 #B45A67 #67B45A
tetradic
#5A67B4 #B45A94 #B4A75A #5AB47A
square
#5A67B4 #B45A94 #B4A75A #5AB47A
split-complementary
#5A67B4 #B47A5A #94B45A
monochromatic
#2E3665 #414D90 #5A67B4 #848EC7 #AEB5DA
Accessibility & contrast
On white
5.21
#5A67B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#5A67B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A67B4
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A67B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A67B4 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4871B7
Deuteranopia (green-blind)
#3F69B2
Tritanopia (blue-blind)
#367785
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a67b4; /* rgb */ color: rgb(90, 103, 180); /* oklch */ color: oklch(54.0% 0.121 274.4);
Tailwind
colors: {
custom: {
50: '#8e92cb',
500: '#5a67b4',
950: '#000000',
},
}SCSS
$custom: #5a67b4; $custom-light: #8e92cb; $custom-dark: #000000;
JSON
{
"hex": "#5a67b4",
"rgb": {
"r": 90,
"g": 103,
"b": 180
},
"hsl": {
"h": 231.333,
"s": 37.5,
"l": 52.941
},
"oklch": {
"l": 0.53955,
"c": 0.12087,
"h": 274.4
},
"luminance": 0.15169
}Semantic roles & 50–950 ramp
primary
#5A67B4
secondary
#C8C3A1
accent
#BD5ACD
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82