#5678F1#5678F1
#5678F1 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.185 H 268.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5678F1 |
|---|---|
| RGB | rgb(86, 120, 241) |
| HSL | hsl(227, 85%, 64%) |
| HSV | hsv(227, 64%, 95%) |
| CMYK | cmyk(64.3%, 50.2%, 0%, 5.5%) |
| CIE-LAB | lab(53.77, 25.60, -64.59) |
| CIE-LCH | lch(53.77, 69.47, 291.62°) |
| OKLab | oklab(61.09% -0.0045 -0.1852) |
| OKLCH | oklch(61.09% 0.185 268.6) |
| XYZ | xyz(26.4260, 21.7598, 86.0095) |
| Luminance | 0.2176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.91
Cornflower
#6A79F7
ΔE00 3.25
Cornflower Blue
#5170D7
ΔE00 4.37
Clear Blue
#247AFD
ΔE00 4.58
Dodger Blue
#3E82FC
ΔE00 4.96
Soft Blue
#6488EA
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5678F1 #F1CF56
analogous
#56C5F1 #5678F1 #8256F1
triadic
#5678F1 #F15678 #78F156
tetradic
#5678F1 #F156C5 #F1CF56 #56F182
square
#5678F1 #F156C5 #F1CF56 #56F182
split-complementary
#5678F1 #F18256 #C5F156
monochromatic
#1036BD #1D4BEC #5678F1 #8FA5F6 #C7D2FA
Accessibility & contrast
On white
3.92
#5678F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#5678F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5678F1
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5678F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5678F1 | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3288F5
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #5678f1; /* rgb */ color: rgb(86, 120, 241); /* oklch */ color: oklch(61.1% 0.185 268.6);
Tailwind
colors: {
custom: {
50: '#949ef6',
500: '#5678f1',
950: '#000000',
},
}SCSS
$custom: #5678f1; $custom-light: #949ef6; $custom-dark: #000000;
JSON
{
"hex": "#5678f1",
"rgb": {
"r": 86,
"g": 120,
"b": 241
},
"hsl": {
"h": 226.839,
"s": 84.699,
"l": 64.118
},
"oklch": {
"l": 0.6109,
"c": 0.18529,
"h": 268.6
},
"luminance": 0.21762
}Semantic roles & 50–950 ramp
primary
#5678F1
secondary
#ECE1B6
accent
#B104E1
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85