#5782CD#5782CD
#5782CD is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.0% C 0.124 H 260.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5782CD |
|---|---|
| RGB | rgb(87, 130, 205) |
| HSL | hsl(218, 54%, 57%) |
| HSV | hsv(218, 58%, 80%) |
| CMYK | cmyk(57.6%, 36.6%, 0%, 19.6%) |
| CIE-LAB | lab(54.45, 7.61, -43.29) |
| CIE-LCH | lch(54.45, 43.95, 279.97°) |
| OKLab | oklab(60.96% -0.0197 -0.1226) |
| OKLCH | oklch(60.96% 0.124 260.9) |
| XYZ | xyz(22.9287, 22.3974, 60.8606) |
| Luminance | 0.2240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.11
Soft Blue
#6488EA
ΔE00 4.46
Off Blue
#5684AE
ΔE00 4.64
Dodger Blue
#3E82FC
ΔE00 4.72
Dusty Blue
#5A86AD
ΔE00 4.95
Cool Blue
#4984B8
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5782CD #CDA257
analogous
#57BDCD #5782CD #6757CD
triadic
#5782CD #CD5782 #82CD57
tetradic
#5782CD #CD57BD #CDA257 #57CD67
square
#5782CD #CD57BD #CDA257 #57CD67
split-complementary
#5782CD #CD6757 #BDCD57
monochromatic
#274883 #3562B2 #5782CD #86A5DB #B5C8E9
Accessibility & contrast
On white
3.83
#5782CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#5782CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5782CD
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5782CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5782CD | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6388D0
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5782cd; /* rgb */ color: rgb(87, 130, 205); /* oklch */ color: oklch(61.0% 0.124 260.9);
Tailwind
colors: {
custom: {
50: '#8fa5dc',
500: '#5782cd',
950: '#000000',
},
}SCSS
$custom: #5782cd; $custom-light: #8fa5dc; $custom-dark: #000000;
JSON
{
"hex": "#5782cd",
"rgb": {
"r": 87,
"g": 130,
"b": 205
},
"hsl": {
"h": 218.136,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.60956,
"c": 0.12416,
"h": 260.9
},
"luminance": 0.22399
}Semantic roles & 50–950 ramp
primary
#5782CD
secondary
#D8C6A8
accent
#A84ADD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83