#5996F1#5996F1
#5996F1 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.4% C 0.150 H 258.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5996F1 |
|---|---|
| RGB | rgb(89, 150, 241) |
| HSL | hsl(216, 84%, 65%) |
| HSV | hsv(216, 63%, 95%) |
| CMYK | cmyk(63.1%, 37.8%, 0%, 5.5%) |
| CIE-LAB | lab(61.90, 8.02, -51.58) |
| CIE-LCH | lch(61.90, 52.20, 278.84°) |
| OKLab | oklab(67.37% -0.0305 -0.1466) |
| OKLCH | oklch(67.37% 0.15 258.2) |
| XYZ | xyz(30.8977, 30.2845, 87.4192) |
| Luminance | 0.3029 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.79
Dark Sky Blue
#448EE4
ΔE00 3.64
Dodgerblue
#1E90FF
ΔE00 3.93
Soft Blue
#6488EA
ΔE00 5.73
Dodger Blue
#3E82FC
ΔE00 6.23
Faded Blue
#658CBB
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5996F1 #F1B459
analogous
#59E2F1 #5996F1 #6859F1
triadic
#5996F1 #F15996 #96F159
tetradic
#5996F1 #F159E2 #F1B459 #59F168
square
#5996F1 #F159E2 #F1B459 #59F168
split-complementary
#5996F1 #F16859 #E2F159
monochromatic
#1057BF #2172EC #5996F1 #91BAF6 #CADDFB
Accessibility & contrast
On white
2.98
#5996F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#5996F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5996F1
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5996F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5996F1 | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 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)
#6E9DF5
Deuteranopia (green-blind)
#588FEF
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5996f1; /* rgb */ color: rgb(89, 150, 241); /* oklch */ color: oklch(67.4% 0.150 258.2);
Tailwind
colors: {
custom: {
50: '#95b4f6',
500: '#5996f1',
950: '#000000',
},
}SCSS
$custom: #5996f1; $custom-light: #95b4f6; $custom-dark: #000000;
JSON
{
"hex": "#5996f1",
"rgb": {
"r": 89,
"g": 150,
"b": 241
},
"hsl": {
"h": 215.921,
"s": 84.444,
"l": 64.706
},
"oklch": {
"l": 0.67371,
"c": 0.14973,
"h": 258.2
},
"luminance": 0.30287
}Semantic roles & 50–950 ramp
primary
#5996F1
secondary
#EDD8B9
accent
#8805E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085