#5A67B5#5A67B5
#5A67B5 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.0% C 0.122 H 274.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5A67B5 |
|---|---|
| RGB | rgb(90, 103, 181) |
| HSL | hsl(231, 38%, 53%) |
| HSV | hsv(231, 50%, 71%) |
| CMYK | cmyk(50.3%, 43.1%, 0%, 29%) |
| CIE-LAB | lab(45.92, 17.04, -43.01) |
| CIE-LCH | lch(45.92, 46.26, 291.61°) |
| OKLab | oklab(54.02% 0.0095 -0.122) |
| OKLCH | oklch(54.02% 0.122 274.4) |
| XYZ | xyz(17.4046, 15.2093, 45.7257) |
| Luminance | 0.1521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 5.73
Dark Periwinkle
#665FD1
ΔE00 5.96
Cornflower Blue
#5170D7
ΔE00 6.09
Dusky Blue
#475F94
ΔE00 6.18
Iris
#6258C4
ΔE00 6.39
Royal Blue
#4169E1
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A67B5 #B5A85A
analogous
#5A94B5 #5A67B5 #7B5AB5
triadic
#5A67B5 #B55A67 #67B55A
tetradic
#5A67B5 #B55A94 #B5A85A #5AB57B
square
#5A67B5 #B55A94 #B5A85A #5AB57B
split-complementary
#5A67B5 #B57B5A #94B55A
monochromatic
#2E3667 #414C91 #5A67B5 #848EC8 #AFB5DB
Accessibility & contrast
On white
5.20
#5A67B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#5A67B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A67B5
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A67B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A67B5 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4771B8
Deuteranopia (green-blind)
#3F69B3
Tritanopia (blue-blind)
#357885
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a67b5; /* rgb */ color: rgb(90, 103, 181); /* oklch */ color: oklch(54.0% 0.122 274.4);
Tailwind
colors: {
custom: {
50: '#8e92cb',
500: '#5a67b5',
950: '#000000',
},
}SCSS
$custom: #5a67b5; $custom-light: #8e92cb; $custom-dark: #000000;
JSON
{
"hex": "#5a67b5",
"rgb": {
"r": 90,
"g": 103,
"b": 181
},
"hsl": {
"h": 231.429,
"s": 38.075,
"l": 53.137
},
"oklch": {
"l": 0.54016,
"c": 0.12233,
"h": 274.4
},
"luminance": 0.1521
}Semantic roles & 50–950 ramp
primary
#5A67B5
secondary
#C9C3A2
accent
#BD5ACE
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82