#5F78EB#5F78EB
#5F78EB is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.175 H 271.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5F78EB |
|---|---|
| RGB | rgb(95, 120, 235) |
| HSL | hsl(229, 78%, 65%) |
| HSV | hsv(229, 60%, 92%) |
| CMYK | cmyk(59.6%, 48.9%, 0%, 7.8%) |
| CIE-LAB | lab(53.88, 25.13, -61.04) |
| CIE-LCH | lch(53.88, 66.01, 292.38°) |
| OKLab | oklab(61.18% 0.0036 -0.1746) |
| OKLCH | oklch(61.18% 0.175 271.2) |
| XYZ | xyz(26.4262, 21.8619, 81.4083) |
| Luminance | 0.2186 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.50
Lightish Blue
#3D7AFD
ΔE00 4.24
Cornflower Blue
#5170D7
ΔE00 4.29
Soft Blue
#6488EA
ΔE00 5.27
Clear Blue
#247AFD
ΔE00 5.87
Dodger Blue
#3E82FC
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F78EB #EBD25F
analogous
#5FBEEB #5F78EB #8C5FEB
triadic
#5F78EB #EB5F78 #78EB5F
tetradic
#5F78EB #EB5FBE #EBD25F #5FEB8C
square
#5F78EB #EB5FBE #EBD25F #5FEB8C
split-complementary
#5F78EB #EB8C5F #BEEB5F
monochromatic
#1734B9 #294AE4 #5F78EB #95A6F2 #CCD4F9
Accessibility & contrast
On white
3.91
#5F78EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#5F78EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F78EB
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F78EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F78EB | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#207BE9
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5f78eb; /* rgb */ color: rgb(95, 120, 235); /* oklch */ color: oklch(61.2% 0.175 271.2);
Tailwind
colors: {
custom: {
50: '#989ef2',
500: '#5f78eb',
950: '#000000',
},
}SCSS
$custom: #5f78eb; $custom-light: #989ef2; $custom-dark: #000000;
JSON
{
"hex": "#5f78eb",
"rgb": {
"r": 95,
"g": 120,
"b": 235
},
"hsl": {
"h": 229.286,
"s": 77.778,
"l": 64.706
},
"oklch": {
"l": 0.61181,
"c": 0.17465,
"h": 271.2
},
"luminance": 0.21864
}Semantic roles & 50–950 ramp
primary
#5F78EB
secondary
#EBE2BB
accent
#B50BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85