#5F78F0#5F78F0
#5F78F0 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.181 H 271.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5F78F0 |
|---|---|
| RGB | rgb(95, 120, 240) |
| HSL | hsl(230, 83%, 66%) |
| HSV | hsv(230, 60%, 94%) |
| CMYK | cmyk(60.4%, 50%, 0%, 5.9%) |
| CIE-LAB | lab(54.19, 26.78, -63.33) |
| CIE-LCH | lch(54.19, 68.76, 292.92°) |
| OKLab | oklab(61.52% 0.0041 -0.1813) |
| OKLCH | oklch(61.52% 0.181 271.3) |
| XYZ | xyz(27.1587, 22.1549, 85.2663) |
| Luminance | 0.2216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.06
Lightish Blue
#3D7AFD
ΔE00 4.14
Cornflower Blue
#5170D7
ΔE00 4.75
Soft Blue
#6488EA
ΔE00 5.30
Clear Blue
#247AFD
ΔE00 5.87
Dodger Blue
#3E82FC
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F78F0 #F0D75F
analogous
#5FC0F0 #5F78F0 #8E5FF0
triadic
#5F78F0 #F05F78 #78F05F
tetradic
#5F78F0 #F05FC0 #F0D75F #5FF08E
square
#5F78F0 #F05FC0 #F0D75F #5FF08E
split-complementary
#5F78F0 #F08E5F #C0F05F
monochromatic
#1231C2 #2749EB #5F78F0 #97A7F5 #CFD6FA
Accessibility & contrast
On white
3.87
#5F78F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#5F78F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F78F0
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F78F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F78F0 | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3688F4
Deuteranopia (green-blind)
#107BEE
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5f78f0; /* rgb */ color: rgb(95, 120, 240); /* oklch */ color: oklch(61.5% 0.181 271.3);
Tailwind
colors: {
custom: {
50: '#999ef6',
500: '#5f78f0',
950: '#000000',
},
}SCSS
$custom: #5f78f0; $custom-light: #999ef6; $custom-dark: #000000;
JSON
{
"hex": "#5f78f0",
"rgb": {
"r": 95,
"g": 120,
"b": 240
},
"hsl": {
"h": 229.655,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.61516,
"c": 0.18139,
"h": 271.3
},
"luminance": 0.22157
}Semantic roles & 50–950 ramp
primary
#5F78F0
secondary
#EEE5BD
accent
#BA06DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85