#5A67C6#5A67C6
#5A67C6 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.1% C 0.147 H 274.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5A67C6 |
|---|---|
| RGB | rgb(90, 103, 198) |
| HSL | hsl(233, 49%, 56%) |
| HSV | hsv(233, 55%, 78%) |
| CMYK | cmyk(54.5%, 48%, 0%, 22.4%) |
| CIE-LAB | lab(46.91, 22.50, -51.28) |
| CIE-LCH | lch(46.91, 56.00, 293.69°) |
| OKLab | oklab(55.09% 0.012 -0.1462) |
| OKLCH | oklch(55.09% 0.147 274.7) |
| XYZ | xyz(19.2565, 15.9501, 55.4791) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.30
Cornflower Blue
#5170D7
ΔE00 4.47
Royal Blue
#4169E1
ΔE00 4.81
Iris
#6258C4
ΔE00 5.68
Warm Blue
#4B57DB
ΔE00 5.91
Slate Blue
#6A5ACD
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A67C6 #C6B95A
analogous
#5A9DC6 #5A67C6 #835AC6
triadic
#5A67C6 #C65A67 #67C65A
tetradic
#5A67C6 #C65A9D #C6B95A #5AC683
square
#5A67C6 #C65A9D #C6B95A #5AC683
split-complementary
#5A67C6 #C6835A #9DC65A
monochromatic
#2B347B #3A48A9 #5A67C6 #8791D6 #B5BBE5
Accessibility & contrast
On white
5.01
#5A67C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#5A67C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A67C6
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A67C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A67C6 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A74C9
Deuteranopia (green-blind)
#2C6BC4
Tritanopia (blue-blind)
#237C8D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5a67c6; /* rgb */ color: rgb(90, 103, 198); /* oklch */ color: oklch(55.1% 0.147 274.7);
Tailwind
colors: {
custom: {
50: '#9092d8',
500: '#5a67c6',
950: '#000000',
},
}SCSS
$custom: #5a67c6; $custom-light: #9092d8; $custom-dark: #000000;
JSON
{
"hex": "#5a67c6",
"rgb": {
"r": 90,
"g": 103,
"b": 198
},
"hsl": {
"h": 232.778,
"s": 48.649,
"l": 56.471
},
"oklch": {
"l": 0.55089,
"c": 0.1467,
"h": 274.7
},
"luminance": 0.15951
}Semantic roles & 50–950 ramp
primary
#5A67C6
secondary
#D4CFA8
accent
#C850D8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83