#5B78F6#5B78F6
#5B78F6 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.7% C 0.191 H 270.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5B78F6 |
|---|---|
| RGB | rgb(91, 120, 246) |
| HSL | hsl(229, 90%, 66%) |
| HSV | hsv(229, 63%, 96%) |
| CMYK | cmyk(63%, 51.2%, 0%, 3.5%) |
| CIE-LAB | lab(54.35, 28.09, -66.41) |
| CIE-LCH | lch(54.35, 72.11, 292.93°) |
| OKLab | oklab(61.7% 0.0007 -0.1905) |
| OKLCH | oklch(61.7% 0.191 270.2) |
| XYZ | xyz(27.6598, 22.3085, 90.0192) |
| Luminance | 0.2231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.26
Lightish Blue
#3D7AFD
ΔE00 3.57
Cornflower Blue
#5170D7
ΔE00 5.10
Soft Blue
#6488EA
ΔE00 5.30
Clear Blue
#247AFD
ΔE00 5.37
Dodger Blue
#3E82FC
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B78F6 #F6D95B
analogous
#5BC5F6 #5B78F6 #8B5BF6
triadic
#5B78F6 #F65B78 #78F65B
tetradic
#5B78F6 #F65BC5 #F6D95B #5BF68B
square
#5B78F6 #F65BC5 #F6D95B #5BF68B
split-complementary
#5B78F6 #F68B5B #C5F65B
monochromatic
#0B2FCB #2148F3 #5B78F6 #95A8F9 #CFD8FC
Accessibility & contrast
On white
3.84
#5B78F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#5B78F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B78F6
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B78F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B78F6 | 1.00 | 3.84 | 5.46 | 5.46 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C89FA
Deuteranopia (green-blind)
#007BF3
Tritanopia (blue-blind)
#0095AC
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5b78f6; /* rgb */ color: rgb(91, 120, 246); /* oklch */ color: oklch(61.7% 0.191 270.2);
Tailwind
colors: {
custom: {
50: '#989efa',
500: '#5b78f6',
950: '#000000',
},
}SCSS
$custom: #5b78f6; $custom-light: #989efa; $custom-dark: #000000;
JSON
{
"hex": "#5b78f6",
"rgb": {
"r": 91,
"g": 120,
"b": 246
},
"hsl": {
"h": 228.774,
"s": 89.595,
"l": 66.078
},
"oklch": {
"l": 0.61702,
"c": 0.19051,
"h": 270.2
},
"luminance": 0.22311
}Semantic roles & 50–950 ramp
primary
#5B78F6
secondary
#F0E6BD
accent
#BB00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85