#5896F2#5896F2
#5896F2 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.4% C 0.151 H 258.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5896F2 |
|---|---|
| RGB | rgb(88, 150, 242) |
| HSL | hsl(216, 86%, 65%) |
| HSV | hsv(216, 64%, 95%) |
| CMYK | cmyk(63.6%, 38%, 0%, 5.1%) |
| CIE-LAB | lab(61.91, 8.19, -52.12) |
| CIE-LCH | lch(61.91, 52.75, 278.93°) |
| OKLab | oklab(67.38% -0.0311 -0.1482) |
| OKLCH | oklch(67.38% 0.151 258.1) |
| XYZ | xyz(30.9521, 30.2952, 88.2036) |
| Luminance | 0.3030 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.89
Dark Sky Blue
#448EE4
ΔE00 3.62
Dodgerblue
#1E90FF
ΔE00 3.84
Soft Blue
#6488EA
ΔE00 5.80
Dodger Blue
#3E82FC
ΔE00 6.23
Faded Blue
#658CBB
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5896F2 #F2B458
analogous
#58E3F2 #5896F2 #6758F2
triadic
#5896F2 #F25896 #96F258
tetradic
#5896F2 #F258E3 #F2B458 #58F267
square
#5896F2 #F258E3 #F2B458 #58F267
split-complementary
#5896F2 #F26758 #E3F258
monochromatic
#0F57C1 #1F72EE #5896F2 #91BAF6 #CADDFB
Accessibility & contrast
On white
2.97
#5896F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#5896F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5896F2
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5896F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5896F2 | 1.00 | 2.97 | 7.06 | 7.06 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#578FF0
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5896f2; /* rgb */ color: rgb(88, 150, 242); /* oklch */ color: oklch(67.4% 0.151 258.1);
Tailwind
colors: {
custom: {
50: '#95b4f7',
500: '#5896f2',
950: '#000000',
},
}SCSS
$custom: #5896f2; $custom-light: #95b4f7; $custom-dark: #000000;
JSON
{
"hex": "#5896f2",
"rgb": {
"r": 88,
"g": 150,
"b": 242
},
"hsl": {
"h": 215.844,
"s": 85.556,
"l": 64.706
},
"oklch": {
"l": 0.67383,
"c": 0.1514,
"h": 258.1
},
"luminance": 0.30298
}Semantic roles & 50–950 ramp
primary
#5896F2
secondary
#EDD8B8
accent
#8803E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085