#5B82EF#5B82EF
#5B82EF is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.169 H 266.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5B82EF |
|---|---|
| RGB | rgb(91, 130, 239) |
| HSL | hsl(224, 82%, 65%) |
| HSV | hsv(224, 62%, 94%) |
| CMYK | cmyk(61.9%, 45.6%, 0%, 6.3%) |
| CIE-LAB | lab(56.50, 19.66, -59.07) |
| CIE-LCH | lch(56.50, 62.25, 288.41°) |
| OKLab | oklab(63.2% -0.0095 -0.1688) |
| OKLCH | oklch(63.2% 0.169 266.8) |
| XYZ | xyz(27.8717, 24.4189, 84.8891) |
| Luminance | 0.2442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.03
Dodger Blue
#3E82FC
ΔE00 3.18
Lightish Blue
#3D7AFD
ΔE00 3.47
Cornflower
#6A79F7
ΔE00 4.71
Clear Blue
#247AFD
ΔE00 4.71
Azure
#007FFF
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B82EF #EFC85B
analogous
#5BCCEF #5B82EF #7E5BEF
triadic
#5B82EF #EF5B82 #82EF5B
tetradic
#5B82EF #EF5BCC #EFC85B #5BEF7E
square
#5B82EF #EF5BCC #EFC85B #5BEF7E
split-complementary
#5B82EF #EF7E5B #CCEF5B
monochromatic
#123FBD #2358EA #5B82EF #93ADF4 #CBD7FA
Accessibility & contrast
On white
3.57
#5B82EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#5B82EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B82EF
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B82EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B82EF | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D8FF3
Deuteranopia (green-blind)
#3481ED
Tritanopia (blue-blind)
#009BAD
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5b82ef; /* rgb */ color: rgb(91, 130, 239); /* oklch */ color: oklch(63.2% 0.169 266.8);
Tailwind
colors: {
custom: {
50: '#96a5f5',
500: '#5b82ef',
950: '#000000',
},
}SCSS
$custom: #5b82ef; $custom-light: #96a5f5; $custom-dark: #000000;
JSON
{
"hex": "#5b82ef",
"rgb": {
"r": 91,
"g": 130,
"b": 239
},
"hsl": {
"h": 224.189,
"s": 82.222,
"l": 64.706
},
"oklch": {
"l": 0.632,
"c": 0.16904,
"h": 266.8
},
"luminance": 0.24421
}Semantic roles & 50–950 ramp
primary
#5B82EF
secondary
#ECDFBA
accent
#A607DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F0F17
muted
#7E7F85