#5785CD#5785CD
#5785CD is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.6% C 0.121 H 259.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5785CD |
|---|---|
| RGB | rgb(87, 133, 205) |
| HSL | hsl(217, 54%, 57%) |
| HSV | hsv(217, 58%, 80%) |
| CMYK | cmyk(57.6%, 35.1%, 0%, 19.6%) |
| CIE-LAB | lab(55.28, 5.81, -41.97) |
| CIE-LCH | lch(55.28, 42.37, 277.89°) |
| OKLab | oklab(61.61% -0.023 -0.1187) |
| OKLCH | oklch(61.61% 0.121 259) |
| XYZ | xyz(23.3336, 23.2071, 60.9956) |
| Luminance | 0.2321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 3.42
Soft Blue
#6488EA
ΔE00 4.35
Off Blue
#5684AE
ΔE00 4.40
Cool Blue
#4984B8
ΔE00 4.54
Dodger Blue
#3E82FC
ΔE00 4.56
Dusty Blue
#5A86AD
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5785CD #CD9F57
analogous
#57C0CD #5785CD #6457CD
triadic
#5785CD #CD5785 #85CD57
tetradic
#5785CD #CD57C0 #CD9F57 #57CD64
square
#5785CD #CD57C0 #CD9F57 #57CD64
split-complementary
#5785CD #CD6457 #C0CD57
monochromatic
#274B83 #3566B2 #5785CD #86A7DB #B5C9E9
Accessibility & contrast
On white
3.72
#5785CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#5785CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5785CD
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5785CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5785CD | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#678AD0
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5785cd; /* rgb */ color: rgb(87, 133, 205); /* oklch */ color: oklch(61.6% 0.121 259.0);
Tailwind
colors: {
custom: {
50: '#8fa8dc',
500: '#5785cd',
950: '#000000',
},
}SCSS
$custom: #5785cd; $custom-light: #8fa8dc; $custom-dark: #000000;
JSON
{
"hex": "#5785cd",
"rgb": {
"r": 87,
"g": 133,
"b": 205
},
"hsl": {
"h": 216.61,
"s": 54.128,
"l": 57.255
},
"oklch": {
"l": 0.61609,
"c": 0.1209,
"h": 259
},
"luminance": 0.23209
}Semantic roles & 50–950 ramp
primary
#5785CD
secondary
#D8C5A8
accent
#A44ADD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83