#5681F2#5681F2
#5681F2 is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.9% C 0.176 H 265.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5681F2 |
|---|---|
| RGB | rgb(86, 129, 242) |
| HSL | hsl(223, 86%, 64%) |
| HSV | hsv(223, 64%, 95%) |
| CMYK | cmyk(64.5%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(56.17, 20.44, -61.27) |
| CIE-LCH | lch(56.17, 64.59, 288.45°) |
| OKLab | oklab(62.94% -0.0126 -0.1754) |
| OKLCH | oklch(62.94% 0.176 265.9) |
| XYZ | xyz(27.7095, 24.0872, 87.1762) |
| Luminance | 0.2409 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.55
Dodger Blue
#3E82FC
ΔE00 2.64
Lightish Blue
#3D7AFD
ΔE00 2.85
Clear Blue
#247AFD
ΔE00 4.08
Cornflower
#6A79F7
ΔE00 4.89
Azure
#007FFF
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5681F2 #F2C756
analogous
#56CFF2 #5681F2 #7956F2
triadic
#5681F2 #F25681 #81F256
tetradic
#5681F2 #F256CF #F2C756 #56F279
square
#5681F2 #F256CF #F2C756 #56F279
split-complementary
#5681F2 #F27956 #CFF256
monochromatic
#0F3FBF #1D57EE #5681F2 #8FABF6 #C8D6FB
Accessibility & contrast
On white
3.61
#5681F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#5681F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5681F2
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5681F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5681F2 | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#2780F0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5681f2; /* rgb */ color: rgb(86, 129, 242); /* oklch */ color: oklch(62.9% 0.176 265.9);
Tailwind
colors: {
custom: {
50: '#94a5f7',
500: '#5681f2',
950: '#000000',
},
}SCSS
$custom: #5681f2; $custom-light: #94a5f7; $custom-dark: #000000;
JSON
{
"hex": "#5681f2",
"rgb": {
"r": 86,
"g": 129,
"b": 242
},
"hsl": {
"h": 223.462,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.62939,
"c": 0.17582,
"h": 265.9
},
"luminance": 0.2409
}Semantic roles & 50–950 ramp
primary
#5681F2
secondary
#EDDEB7
accent
#A503E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85