#5F78F4#5F78F4
#5F78F4 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.8% C 0.187 H 271.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5F78F4 |
|---|---|
| RGB | rgb(95, 120, 244) |
| HSL | hsl(230, 87%, 66%) |
| HSV | hsv(230, 61%, 96%) |
| CMYK | cmyk(61.1%, 50.8%, 0%, 4.3%) |
| CIE-LAB | lab(54.44, 28.10, -65.14) |
| CIE-LCH | lch(54.44, 70.95, 293.33°) |
| OKLab | oklab(61.79% 0.0044 -0.1867) |
| OKLCH | oklch(61.79% 0.187 271.4) |
| XYZ | xyz(27.7595, 22.3952, 88.4302) |
| Luminance | 0.2240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 1.78
Lightish Blue
#3D7AFD
ΔE00 4.12
Cornflower Blue
#5170D7
ΔE00 5.15
Soft Blue
#6488EA
ΔE00 5.38
Clear Blue
#247AFD
ΔE00 5.91
Dodger Blue
#3E82FC
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F78F4 #F4DB5F
analogous
#5FC3F4 #5F78F4 #915FF4
triadic
#5F78F4 #F45F78 #78F45F
tetradic
#5F78F4 #F45FC3 #F4DB5F #5FF491
square
#5F78F4 #F45FC3 #F4DB5F #5FF491
split-complementary
#5F78F4 #F4915F #C3F45F
monochromatic
#0E2ECB #2648F0 #5F78F4 #98A8F8 #D2D9FC
Accessibility & contrast
On white
3.83
#5F78F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#5F78F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F78F4
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F78F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F78F4 | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3089F8
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#0095AB
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5f78f4; /* rgb */ color: rgb(95, 120, 244); /* oklch */ color: oklch(61.8% 0.187 271.4);
Tailwind
colors: {
custom: {
50: '#999ef8',
500: '#5f78f4',
950: '#000000',
},
}SCSS
$custom: #5f78f4; $custom-light: #999ef8; $custom-dark: #000000;
JSON
{
"hex": "#5f78f4",
"rgb": {
"r": 95,
"g": 120,
"b": 244
},
"hsl": {
"h": 229.933,
"s": 87.135,
"l": 66.471
},
"oklch": {
"l": 0.61788,
"c": 0.18674,
"h": 271.4
},
"luminance": 0.22397
}Semantic roles & 50–950 ramp
primary
#5F78F4
secondary
#F0E7BF
accent
#BE02E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85