#5F78EF#5F78EF
#5F78EF is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.4% C 0.180 H 271.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5F78EF |
|---|---|
| RGB | rgb(95, 120, 239) |
| HSL | hsl(230, 82%, 65%) |
| HSV | hsv(230, 60%, 94%) |
| CMYK | cmyk(60.3%, 49.8%, 0%, 6.3%) |
| CIE-LAB | lab(54.13, 26.45, -62.87) |
| CIE-LCH | lch(54.13, 68.21, 292.82°) |
| OKLab | oklab(61.45% 0.004 -0.18) |
| OKLCH | oklch(61.45% 0.18 271.3) |
| XYZ | xyz(27.0106, 22.0956, 84.4861) |
| Luminance | 0.2210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.14
Lightish Blue
#3D7AFD
ΔE00 4.15
Cornflower Blue
#5170D7
ΔE00 4.66
Soft Blue
#6488EA
ΔE00 5.29
Clear Blue
#247AFD
ΔE00 5.87
Dodger Blue
#3E82FC
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F78EF #EFD65F
analogous
#5FC0EF #5F78EF #8E5FEF
triadic
#5F78EF #EF5F78 #78EF5F
tetradic
#5F78EF #EF5FC0 #EFD65F #5FEF8E
square
#5F78EF #EF5FC0 #EFD65F #5FEF8E
split-complementary
#5F78EF #EF8E5F #C0EF5F
monochromatic
#1331C0 #2749E9 #5F78EF #97A7F5 #CED6FA
Accessibility & contrast
On white
3.87
#5F78EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#5F78EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F78EF
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F78EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F78EF | 1.00 | 3.87 | 5.42 | 5.42 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#147BED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5f78ef; /* rgb */ color: rgb(95, 120, 239); /* oklch */ color: oklch(61.4% 0.180 271.3);
Tailwind
colors: {
custom: {
50: '#999ef5',
500: '#5f78ef',
950: '#000000',
},
}SCSS
$custom: #5f78ef; $custom-light: #999ef5; $custom-dark: #000000;
JSON
{
"hex": "#5f78ef",
"rgb": {
"r": 95,
"g": 120,
"b": 239
},
"hsl": {
"h": 229.583,
"s": 81.818,
"l": 65.49
},
"oklch": {
"l": 0.61449,
"c": 0.18004,
"h": 271.3
},
"luminance": 0.22098
}Semantic roles & 50–950 ramp
primary
#5F78EF
secondary
#EDE5BD
accent
#B907DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85