#5F78CA#5F78CA
#5F78CA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.129 H 269.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5F78CA |
|---|---|
| RGB | rgb(95, 120, 202) |
| HSL | hsl(226, 50%, 58%) |
| HSV | hsv(226, 53%, 79%) |
| CMYK | cmyk(53%, 40.6%, 0%, 20.8%) |
| CIE-LAB | lab(51.98, 14.40, -45.46) |
| CIE-LCH | lch(51.98, 47.69, 287.58°) |
| OKLab | oklab(59.12% -0.0014 -0.1289) |
| OKLCH | oklch(59.12% 0.129 269.4) |
| XYZ | xyz(22.0930, 20.1286, 58.5867) |
| Luminance | 0.2013 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.46
Royal Blue
#4169E1
ΔE00 6.24
Cornflower
#6A79F7
ΔE00 6.34
Lightish Blue
#3D7AFD
ΔE00 6.61
Soft Blue
#6488EA
ΔE00 6.62
Off Blue
#5684AE
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F78CA #CAB15F
analogous
#5FAECA #5F78CA #7B5FCA
triadic
#5F78CA #CA5F78 #78CA5F
tetradic
#5F78CA #CA5FAE #CAB15F #5FCA7B
square
#5F78CA #CA5FAE #CAB15F #5FCA7B
split-complementary
#5F78CA #CA7B5F #AECA5F
monochromatic
#2B4083 #3B56B1 #5F78CA #8D9FD9 #BBC6E8
Accessibility & contrast
On white
4.18
#5F78CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#5F78CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F78CA
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F78CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F78CA | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#4A78C8
Tritanopia (blue-blind)
#2B8A97
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5f78ca; /* rgb */ color: rgb(95, 120, 202); /* oklch */ color: oklch(59.1% 0.129 269.4);
Tailwind
colors: {
custom: {
50: '#939eda',
500: '#5f78ca',
950: '#000000',
},
}SCSS
$custom: #5f78ca; $custom-light: #939eda; $custom-dark: #000000;
JSON
{
"hex": "#5f78ca",
"rgb": {
"r": 95,
"g": 120,
"b": 202
},
"hsl": {
"h": 225.981,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.59119,
"c": 0.12889,
"h": 269.4
},
"luminance": 0.2013
}Semantic roles & 50–950 ramp
primary
#5F78CA
secondary
#D8CEAD
accent
#B94EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83