#5A67B8#5A67B8
#5A67B8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.2% C 0.127 H 274.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5A67B8 |
|---|---|
| RGB | rgb(90, 103, 184) |
| HSL | hsl(232, 40%, 54%) |
| HSV | hsv(232, 51%, 72%) |
| CMYK | cmyk(51.1%, 44%, 0%, 27.8%) |
| CIE-LAB | lab(46.09, 17.99, -44.49) |
| CIE-LCH | lch(46.09, 47.99, 292.02°) |
| OKLab | oklab(54.2% 0.01 -0.1263) |
| OKLCH | oklch(54.2% 0.127 274.5) |
| XYZ | xyz(17.7157, 15.3337, 47.3643) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.61
Cornflower Blue
#5170D7
ΔE00 5.75
French Blue
#436BAD
ΔE00 5.80
Iris
#6258C4
ΔE00 6.18
Royal Blue
#4169E1
ΔE00 6.38
Dusky Blue
#475F94
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A67B8 #B8AB5A
analogous
#5A96B8 #5A67B8 #7C5AB8
triadic
#5A67B8 #B85A67 #67B85A
tetradic
#5A67B8 #B85A96 #B8AB5A #5AB87C
square
#5A67B8 #B85A96 #B8AB5A #5AB87C
split-complementary
#5A67B8 #B87C5A #96B85A
monochromatic
#2E366A #404C95 #5A67B8 #858ECA #B0B6DD
Accessibility & contrast
On white
5.16
#5A67B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#5A67B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A67B8
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A67B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A67B8 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#3C69B6
Tritanopia (blue-blind)
#327886
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a67b8; /* rgb */ color: rgb(90, 103, 184); /* oklch */ color: oklch(54.2% 0.127 274.5);
Tailwind
colors: {
custom: {
50: '#8f92ce',
500: '#5a67b8',
950: '#000000',
},
}SCSS
$custom: #5a67b8; $custom-light: #8f92ce; $custom-dark: #000000;
JSON
{
"hex": "#5a67b8",
"rgb": {
"r": 90,
"g": 103,
"b": 184
},
"hsl": {
"h": 231.702,
"s": 39.831,
"l": 53.725
},
"oklch": {
"l": 0.54199,
"c": 0.12668,
"h": 274.5
},
"luminance": 0.15335
}Semantic roles & 50–950 ramp
primary
#5A67B8
secondary
#CBC5A3
accent
#BF58D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C13
muted
#7E7D82