#5442C8#5442C8
#5442C8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.2% C 0.198 H 282.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5442C8 |
|---|---|
| RGB | rgb(84, 66, 200) |
| HSL | hsl(248, 55%, 52%) |
| HSV | hsv(248, 67%, 78%) |
| CMYK | cmyk(58%, 67%, 0%, 21.6%) |
| CIE-LAB | lab(37.75, 44.54, -67.28) |
| CIE-LCH | lch(37.75, 80.69, 303.50°) |
| OKLab | oklab(48.24% 0.0416 -0.1937) |
| OKLCH | oklch(48.24% 0.198 282.1) |
| XYZ | xyz(16.0265, 9.9503, 55.7085) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 1.54
Blurple
#5539CC
ΔE00 2.20
Bluey Purple
#6241C7
ΔE00 2.21
Ocean Blue
#4F42B5
ΔE00 2.80
Purpley Blue
#5F34E7
ΔE00 4.85
Burple
#6832E3
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5442C8 #B6C842
analogous
#4273C8 #5442C8 #9742C8
triadic
#5442C8 #C85442 #42C854
tetradic
#5442C8 #C84273 #B6C842 #42C897
square
#5442C8 #C84273 #B6C842 #42C897
split-complementary
#5442C8 #C89742 #73C842
monochromatic
#2B206F #3D2E9F #5442C8 #7F71D6 #AAA1E4
Accessibility & contrast
On white
7.02
#5442C8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#5442C8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5442C8
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5442C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5442C8 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#0D657F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5442c8; /* rgb */ color: rgb(84, 66, 200); /* oklch */ color: oklch(48.2% 0.198 282.1);
Tailwind
colors: {
custom: {
50: '#9078da',
500: '#5442c8',
950: '#000000',
},
}SCSS
$custom: #5442c8; $custom-light: #9078da; $custom-dark: #000000;
JSON
{
"hex": "#5442c8",
"rgb": {
"r": 84,
"g": 66,
"b": 200
},
"hsl": {
"h": 248.06,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.48237,
"c": 0.19807,
"h": 282.1
},
"luminance": 0.09951
}Semantic roles & 50–950 ramp
primary
#5442C8
secondary
#C8D096
accent
#DE4ACA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83