#5873CD#5873CD
#5873CD is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.8% C 0.142 H 269.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5873CD |
|---|---|
| RGB | rgb(88, 115, 205) |
| HSL | hsl(226, 54%, 57%) |
| HSV | hsv(226, 57%, 80%) |
| CMYK | cmyk(57.1%, 43.9%, 0%, 19.6%) |
| CIE-LAB | lab(50.38, 16.95, -49.74) |
| CIE-LCH | lch(50.38, 52.55, 288.82°) |
| OKLab | oklab(57.84% -0.0023 -0.1416) |
| OKLCH | oklch(57.84% 0.142 269.1) |
| XYZ | xyz(21.1710, 18.7423, 60.2478) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.72
Royal Blue
#4169E1
ΔE00 4.43
French Blue
#436BAD
ΔE00 6.17
Cerulean Blue
#056EEE
ΔE00 6.29
Lightish Blue
#3D7AFD
ΔE00 6.52
Cornflower
#6A79F7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5873CD #CDB258
analogous
#58ADCD #5873CD #7858CD
triadic
#5873CD #CD5873 #73CD58
tetradic
#5873CD #CD58AD #CDB258 #58CD78
square
#5873CD #CD58AD #CDB258 #58CD78
split-complementary
#5873CD #CD7858 #ADCD58
monochromatic
#273D83 #3552B2 #5873CD #879ADB #B6C2E9
Accessibility & contrast
On white
4.42
#5873CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#5873CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5873CD
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5873CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5873CD | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B7DD0
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#018796
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #5873cd; /* rgb */ color: rgb(88, 115, 205); /* oklch */ color: oklch(57.8% 0.142 269.1);
Tailwind
colors: {
custom: {
50: '#909add',
500: '#5873cd',
950: '#000000',
},
}SCSS
$custom: #5873cd; $custom-light: #909add; $custom-dark: #000000;
JSON
{
"hex": "#5873cd",
"rgb": {
"r": 88,
"g": 115,
"b": 205
},
"hsl": {
"h": 226.154,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.57838,
"c": 0.14163,
"h": 269.1
},
"luminance": 0.18744
}Semantic roles & 50–950 ramp
primary
#5873CD
secondary
#D8CDA9
accent
#BB4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83