#5F78CD#5F78CD
#5F78CD is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.133 H 269.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5F78CD |
|---|---|
| RGB | rgb(95, 120, 205) |
| HSL | hsl(226, 52%, 59%) |
| HSV | hsv(226, 54%, 80%) |
| CMYK | cmyk(53.7%, 41.5%, 0%, 19.6%) |
| CIE-LAB | lab(52.14, 15.36, -46.91) |
| CIE-LCH | lch(52.14, 49.36, 288.13°) |
| OKLab | oklab(59.29% -0.0008 -0.1331) |
| OKLCH | oklch(59.29% 0.133 269.7) |
| XYZ | xyz(22.4516, 20.2720, 60.4756) |
| Luminance | 0.2027 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.31
Cornflower
#6A79F7
ΔE00 5.97
Royal Blue
#4169E1
ΔE00 6.11
Lightish Blue
#3D7AFD
ΔE00 6.32
Soft Blue
#6488EA
ΔE00 6.40
Clear Blue
#247AFD
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F78CD #CDB45F
analogous
#5FAFCD #5F78CD #7D5FCD
triadic
#5F78CD #CD5F78 #78CD5F
tetradic
#5F78CD #CD5FAF #CDB45F #5FCD7D
square
#5F78CD #CD5FAF #CDB45F #5FCD7D
split-complementary
#5F78CD #CD7D5F #AFCD5F
monochromatic
#2A3F87 #3955B6 #5F78CD #8E9FDC #BCC7EA
Accessibility & contrast
On white
4.15
#5F78CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#5F78CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F78CD
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F78CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F78CD | 1.00 | 4.15 | 5.05 | 5.05 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5581D0
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#278A98
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5f78cd; /* rgb */ color: rgb(95, 120, 205); /* oklch */ color: oklch(59.3% 0.133 269.7);
Tailwind
colors: {
custom: {
50: '#949edd',
500: '#5f78cd',
950: '#000000',
},
}SCSS
$custom: #5f78cd; $custom-light: #949edd; $custom-dark: #000000;
JSON
{
"hex": "#5f78cd",
"rgb": {
"r": 95,
"g": 120,
"b": 205
},
"hsl": {
"h": 226.364,
"s": 52.381,
"l": 58.824
},
"oklch": {
"l": 0.59295,
"c": 0.13313,
"h": 269.7
},
"luminance": 0.20274
}Semantic roles & 50–950 ramp
primary
#5F78CD
secondary
#DAD0AE
accent
#BB4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83