#5954CA#5954CA
#5954CA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.178 H 280.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5954CA |
|---|---|
| RGB | rgb(89, 84, 202) |
| HSL | hsl(243, 53%, 56%) |
| HSV | hsv(243, 58%, 79%) |
| CMYK | cmyk(55.9%, 58.4%, 0%, 20.8%) |
| CIE-LAB | lab(42.35, 35.34, -60.94) |
| CIE-LCH | lch(42.35, 70.45, 300.11°) |
| OKLab | oklab(51.74% 0.0311 -0.1748) |
| OKLCH | oklch(51.74% 0.178 280.1) |
| XYZ | xyz(17.9475, 12.7276, 57.3766) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.05
Warm Blue
#4B57DB
ΔE00 3.15
Slate Blue
#6A5ACD
ΔE00 3.30
Light Indigo
#6D5ACF
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 3.93
Bluey Purple
#6241C7
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5954CA #C5CA54
analogous
#548ACA #5954CA #9454CA
triadic
#5954CA #CA5954 #54CA59
tetradic
#5954CA #CA548A #C5CA54 #54CA94
square
#5954CA #CA548A #C5CA54 #54CA94
split-complementary
#5954CA #CA9454 #8ACA54
monochromatic
#2A277D #3A35AC #5954CA #8683D8 #B4B1E7
Accessibility & contrast
On white
5.92
#5954CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#5954CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5954CA
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5954CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5954CA | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#1E7087
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5954ca; /* rgb */ color: rgb(89, 84, 202); /* oklch */ color: oklch(51.7% 0.178 280.1);
Tailwind
colors: {
custom: {
50: '#9284db',
500: '#5954ca',
950: '#000000',
},
}SCSS
$custom: #5954ca; $custom-light: #9284db; $custom-dark: #000000;
JSON
{
"hex": "#5954ca",
"rgb": {
"r": 89,
"g": 84,
"b": 202
},
"hsl": {
"h": 242.542,
"s": 52.679,
"l": 56.078
},
"oklch": {
"l": 0.51742,
"c": 0.17756,
"h": 280.1
},
"luminance": 0.12729
}Semantic roles & 50–950 ramp
primary
#5954CA
secondary
#D3D5A5
accent
#DC4CD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83