#5A67C2#5A67C2
#5A67C2 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.8% C 0.141 H 274.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5A67C2 |
|---|---|
| RGB | rgb(90, 103, 194) |
| HSL | hsl(233, 46%, 56%) |
| HSV | hsv(233, 54%, 76%) |
| CMYK | cmyk(53.6%, 46.9%, 0%, 23.9%) |
| CIE-LAB | lab(46.67, 21.21, -49.36) |
| CIE-LCH | lch(46.67, 53.72, 293.25°) |
| OKLab | oklab(54.83% 0.0115 -0.1406) |
| OKLCH | oklch(54.83% 0.141 274.7) |
| XYZ | xyz(18.8012, 15.7679, 53.0813) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.61
Cornflower Blue
#5170D7
ΔE00 4.78
Royal Blue
#4169E1
ΔE00 5.22
Iris
#6258C4
ΔE00 5.74
Slate Blue
#6A5ACD
ΔE00 6.16
Warm Blue
#4B57DB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A67C2 #C2B55A
analogous
#5A9BC2 #5A67C2 #815AC2
triadic
#5A67C2 #C25A67 #67C25A
tetradic
#5A67C2 #C25A9B #C2B55A #5AC281
square
#5A67C2 #C25A9B #C2B55A #5AC281
split-complementary
#5A67C2 #C2815A #9BC25A
monochromatic
#2C3576 #3C49A3 #5A67C2 #8790D3 #B3B9E3
Accessibility & contrast
On white
5.06
#5A67C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#5A67C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A67C2
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A67C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A67C2 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E73C5
Deuteranopia (green-blind)
#326AC0
Tritanopia (blue-blind)
#287B8B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5a67c2; /* rgb */ color: rgb(90, 103, 194); /* oklch */ color: oklch(54.8% 0.141 274.7);
Tailwind
colors: {
custom: {
50: '#9092d5',
500: '#5a67c2',
950: '#000000',
},
}SCSS
$custom: #5a67c2; $custom-light: #9092d5; $custom-dark: #000000;
JSON
{
"hex": "#5a67c2",
"rgb": {
"r": 90,
"g": 103,
"b": 194
},
"hsl": {
"h": 232.5,
"s": 46.018,
"l": 55.686
},
"oklch": {
"l": 0.54829,
"c": 0.14103,
"h": 274.7
},
"luminance": 0.15769
}Semantic roles & 50–950 ramp
primary
#5A67C2
secondary
#D2CCA6
accent
#C552D6
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83