#5996F5#5996F5
#5996F5 is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.6% C 0.155 H 259.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5996F5 |
|---|---|
| RGB | rgb(89, 150, 245) |
| HSL | hsl(217, 89%, 65%) |
| HSV | hsv(217, 64%, 96%) |
| CMYK | cmyk(63.7%, 38.8%, 0%, 3.9%) |
| CIE-LAB | lab(62.11, 9.36, -53.45) |
| CIE-LCH | lch(62.11, 54.26, 279.93°) |
| OKLab | oklab(67.6% -0.0297 -0.1521) |
| OKLCH | oklch(67.6% 0.155 259) |
| XYZ | xyz(31.5017, 30.5261, 90.6005) |
| Luminance | 0.3053 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflowerblue
#6495ED
ΔE00 1.70
Dark Sky Blue
#448EE4
ΔE00 3.94
Dodgerblue
#1E90FF
ΔE00 4.10
Soft Blue
#6488EA
ΔE00 5.66
Dodger Blue
#3E82FC
ΔE00 6.19
Faded Blue
#658CBB
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5996F5 #F5B859
analogous
#59E4F5 #5996F5 #6A59F5
triadic
#5996F5 #F55996 #96F559
tetradic
#5996F5 #F559E4 #F5B859 #59F56A
square
#5996F5 #F559E4 #F5B859 #59F56A
split-complementary
#5996F5 #F56A59 #E4F559
monochromatic
#0C55C8 #1F71F2 #5996F5 #93BBF8 #CCDFFC
Accessibility & contrast
On white
2.96
#5996F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#5996F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5996F5
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5996F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5996F5 | 1.00 | 2.96 | 7.11 | 7.11 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9EF9
Deuteranopia (green-blind)
#558FF3
Tritanopia (blue-blind)
#00ACBA
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #5996f5; /* rgb */ color: rgb(89, 150, 245); /* oklch */ color: oklch(67.6% 0.155 259.0);
Tailwind
colors: {
custom: {
50: '#96b4f9',
500: '#5996f5',
950: '#000000',
},
}SCSS
$custom: #5996f5; $custom-light: #96b4f9; $custom-dark: #000000;
JSON
{
"hex": "#5996f5",
"rgb": {
"r": 89,
"g": 150,
"b": 245
},
"hsl": {
"h": 216.538,
"s": 88.636,
"l": 65.49
},
"oklch": {
"l": 0.67599,
"c": 0.15493,
"h": 259
},
"luminance": 0.30529
}Semantic roles & 50–950 ramp
primary
#5996F5
secondary
#EFDBBB
accent
#8C00E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085