#5F78EA#5F78EA
#5F78EA is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.173 H 271.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5F78EA |
|---|---|
| RGB | rgb(95, 120, 234) |
| HSL | hsl(229, 77%, 65%) |
| HSV | hsv(229, 59%, 92%) |
| CMYK | cmyk(59.4%, 48.7%, 0%, 8.2%) |
| CIE-LAB | lab(53.82, 24.80, -60.58) |
| CIE-LCH | lch(53.82, 65.46, 292.26°) |
| OKLab | oklab(61.11% 0.0035 -0.1733) |
| OKLCH | oklch(61.11% 0.173 271.1) |
| XYZ | xyz(26.2821, 21.8042, 80.6496) |
| Luminance | 0.2181 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.60
Cornflower Blue
#5170D7
ΔE00 4.20
Lightish Blue
#3D7AFD
ΔE00 4.27
Soft Blue
#6488EA
ΔE00 5.27
Clear Blue
#247AFD
ΔE00 5.88
Dodger Blue
#3E82FC
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F78EA #EAD15F
analogous
#5FBDEA #5F78EA #8C5FEA
triadic
#5F78EA #EA5F78 #78EA5F
tetradic
#5F78EA #EA5FBD #EAD15F #5FEA8C
square
#5F78EA #EA5FBD #EAD15F #5FEA8C
split-complementary
#5F78EA #EA8C5F #BDEA5F
monochromatic
#1835B7 #294AE3 #5F78EA #95A6F1 #CBD3F8
Accessibility & contrast
On white
3.92
#5F78EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#5F78EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F78EA
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F78EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F78EA | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D87EE
Deuteranopia (green-blind)
#227BE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5f78ea; /* rgb */ color: rgb(95, 120, 234); /* oklch */ color: oklch(61.1% 0.173 271.1);
Tailwind
colors: {
custom: {
50: '#989ef1',
500: '#5f78ea',
950: '#000000',
},
}SCSS
$custom: #5f78ea; $custom-light: #989ef1; $custom-dark: #000000;
JSON
{
"hex": "#5f78ea",
"rgb": {
"r": 95,
"g": 120,
"b": 234
},
"hsl": {
"h": 229.209,
"s": 76.796,
"l": 64.51
},
"oklch": {
"l": 0.61115,
"c": 0.17329,
"h": 271.1
},
"luminance": 0.21806
}Semantic roles & 50–950 ramp
primary
#5F78EA
secondary
#EAE2BA
accent
#B40CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85