#5454CD#5454CD
#5454CD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.183 H 277.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5454CD |
|---|---|
| RGB | rgb(84, 84, 205) |
| HSL | hsl(240, 55%, 57%) |
| HSV | hsv(240, 59%, 80%) |
| CMYK | cmyk(59%, 59%, 0%, 19.6%) |
| CIE-LAB | lab(42.20, 35.42, -62.93) |
| CIE-LCH | lch(42.20, 72.21, 299.37°) |
| OKLab | oklab(51.61% 0.025 -0.1808) |
| OKLCH | oklch(51.61% 0.183 277.9) |
| XYZ | xyz(17.8424, 12.6319, 59.2438) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.39
Iris
#6258C4
ΔE00 2.80
Slate Blue
#6A5ACD
ΔE00 3.93
Dark Periwinkle
#665FD1
ΔE00 4.23
Light Indigo
#6D5ACF
ΔE00 4.44
Bluey Purple
#6241C7
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5454CD #CDCD54
analogous
#5491CD #5454CD #9154CD
triadic
#5454CD #CD5454 #54CD54
tetradic
#5454CD #CD5491 #CDCD54 #54CD91
square
#5454CD #CD5491 #CDCD54 #54CD91
split-complementary
#5454CD #CD9154 #91CD54
monochromatic
#262681 #3434B0 #5454CD #8383DB #B3B3E9
Accessibility & contrast
On white
5.95
#5454CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5454CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5454CD
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5454CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5454CD | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5454cd; /* rgb */ color: rgb(84, 84, 205); /* oklch */ color: oklch(51.6% 0.183 277.9);
Tailwind
colors: {
custom: {
50: '#8f84dd',
500: '#5454cd',
950: '#000000',
},
}SCSS
$custom: #5454cd; $custom-light: #8f84dd; $custom-dark: #000000;
JSON
{
"hex": "#5454cd",
"rgb": {
"r": 84,
"g": 84,
"b": 205
},
"hsl": {
"h": 240,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.51609,
"c": 0.18251,
"h": 277.9
},
"luminance": 0.12633
}Semantic roles & 50–950 ramp
primary
#5454CD
secondary
#D7D7A6
accent
#DE4ADE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83