#5854C8#5854C8
#5854C8 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.175 H 279.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5854C8 |
|---|---|
| RGB | rgb(88, 84, 200) |
| HSL | hsl(242, 51%, 56%) |
| HSV | hsv(242, 58%, 78%) |
| CMYK | cmyk(56%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(42.13, 34.52, -60.14) |
| CIE-LCH | lch(42.13, 69.35, 299.85°) |
| OKLab | oklab(51.52% 0.0299 -0.1725) |
| OKLCH | oklch(51.52% 0.175 279.8) |
| XYZ | xyz(17.6169, 12.5843, 56.1331) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.07
Warm Blue
#4B57DB
ΔE00 3.25
Slate Blue
#6A5ACD
ΔE00 3.50
Light Indigo
#6D5ACF
ΔE00 4.03
Dark Periwinkle
#665FD1
ΔE00 4.09
Bluey Purple
#6241C7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5854C8 #C4C854
analogous
#548AC8 #5854C8 #9254C8
triadic
#5854C8 #C85854 #54C858
tetradic
#5854C8 #C8548A #C4C854 #54C892
square
#5854C8 #C8548A #C4C854 #54C892
split-complementary
#5854C8 #C89254 #8AC854
monochromatic
#2A277A #3A36A9 #5854C8 #8582D7 #B2B1E6
Accessibility & contrast
On white
5.97
#5854C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5854C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5854C8
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5854C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5854C8 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#1D6F86
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5854c8; /* rgb */ color: rgb(88, 84, 200); /* oklch */ color: oklch(51.5% 0.175 279.8);
Tailwind
colors: {
custom: {
50: '#9184d9',
500: '#5854c8',
950: '#000000',
},
}SCSS
$custom: #5854c8; $custom-light: #9184d9; $custom-dark: #000000;
JSON
{
"hex": "#5854c8",
"rgb": {
"r": 88,
"g": 84,
"b": 200
},
"hsl": {
"h": 242.069,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.51515,
"c": 0.17507,
"h": 279.8
},
"luminance": 0.12585
}Semantic roles & 50–950 ramp
primary
#5854C8
secondary
#D2D4A4
accent
#DB4DD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83