#5F80CD#5F80CD
#5F80CD is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.0% C 0.123 H 265.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5F80CD |
|---|---|
| RGB | rgb(95, 128, 205) |
| HSL | hsl(222, 52%, 59%) |
| HSV | hsv(222, 54%, 80%) |
| CMYK | cmyk(53.7%, 37.6%, 0%, 19.6%) |
| CIE-LAB | lab(54.32, 10.51, -43.46) |
| CIE-LCH | lch(54.32, 44.71, 283.60°) |
| OKLab | oklab(60.97% -0.0099 -0.123) |
| OKLCH | oklch(60.97% 0.123 265.4) |
| XYZ | xyz(23.4542, 22.2773, 60.8098) |
| Luminance | 0.2228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 4.29
Faded Blue
#658CBB
ΔE00 4.81
Cornflower Blue
#5170D7
ΔE00 5.59
Off Blue
#5684AE
ΔE00 5.71
Lightish Blue
#3D7AFD
ΔE00 5.73
Dodger Blue
#3E82FC
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F80CD #CDAC5F
analogous
#5FB7CD #5F80CD #755FCD
triadic
#5F80CD #CD5F80 #80CD5F
tetradic
#5F80CD #CD5FB7 #CDAC5F #5FCD75
square
#5F80CD #CD5FB7 #CDAC5F #5FCD75
split-complementary
#5F80CD #CD755F #B7CD5F
monochromatic
#2A4687 #395EB6 #5F80CD #8EA5DC #BCCAEA
Accessibility & contrast
On white
3.85
#5F80CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#5F80CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F80CD
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F80CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F80CD | 1.00 | 3.85 | 5.46 | 5.46 |
| #FFFFFF | 3.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#24919D
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5f80cd; /* rgb */ color: rgb(95, 128, 205); /* oklch */ color: oklch(61.0% 0.123 265.4);
Tailwind
colors: {
custom: {
50: '#93a4dc',
500: '#5f80cd',
950: '#000000',
},
}SCSS
$custom: #5f80cd; $custom-light: #93a4dc; $custom-dark: #000000;
JSON
{
"hex": "#5f80cd",
"rgb": {
"r": 95,
"g": 128,
"b": 205
},
"hsl": {
"h": 222,
"s": 52.381,
"l": 58.824
},
"oklch": {
"l": 0.60973,
"c": 0.12337,
"h": 265.4
},
"luminance": 0.22279
}Semantic roles & 50–950 ramp
primary
#5F80CD
secondary
#DACDAE
accent
#B14CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83