#5B82F4#5B82F4
#5B82F4 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.5% C 0.176 H 267.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5B82F4 |
|---|---|
| RGB | rgb(91, 130, 244) |
| HSL | hsl(225, 87%, 66%) |
| HSV | hsv(225, 63%, 96%) |
| CMYK | cmyk(62.7%, 46.7%, 0%, 4.3%) |
| CIE-LAB | lab(56.80, 21.34, -61.37) |
| CIE-LCH | lch(56.80, 64.97, 289.17°) |
| OKLab | oklab(63.52% -0.0088 -0.1755) |
| OKLCH | oklch(63.52% 0.176 267.1) |
| XYZ | xyz(28.6206, 24.7185, 88.8333) |
| Luminance | 0.2472 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.19
Dodger Blue
#3E82FC
ΔE00 3.21
Lightish Blue
#3D7AFD
ΔE00 3.43
Cornflower
#6A79F7
ΔE00 4.47
Clear Blue
#247AFD
ΔE00 4.79
Azure
#007FFF
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B82F4 #F4CD5B
analogous
#5BCEF4 #5B82F4 #805BF4
triadic
#5B82F4 #F45B82 #82F45B
tetradic
#5B82F4 #F45BCE #F4CD5B #5BF480
square
#5B82F4 #F45BCE #F4CD5B #5BF480
split-complementary
#5B82F4 #F4805B #CEF45B
monochromatic
#0D3DC7 #2256F0 #5B82F4 #94AEF8 #CED9FC
Accessibility & contrast
On white
3.53
#5B82F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#5B82F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B82F4
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B82F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B82F4 | 1.00 | 3.53 | 5.94 | 5.94 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4890F8
Deuteranopia (green-blind)
#2B82F2
Tritanopia (blue-blind)
#009CAF
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5b82f4; /* rgb */ color: rgb(91, 130, 244); /* oklch */ color: oklch(63.5% 0.176 267.1);
Tailwind
colors: {
custom: {
50: '#97a5f8',
500: '#5b82f4',
950: '#000000',
},
}SCSS
$custom: #5b82f4; $custom-light: #97a5f8; $custom-dark: #000000;
JSON
{
"hex": "#5b82f4",
"rgb": {
"r": 91,
"g": 130,
"b": 244
},
"hsl": {
"h": 224.706,
"s": 87.429,
"l": 65.686
},
"oklch": {
"l": 0.63521,
"c": 0.17575,
"h": 267.1
},
"luminance": 0.24721
}Semantic roles & 50–950 ramp
primary
#5B82F4
secondary
#EFE2BC
accent
#AA02E4
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F17
muted
#7F7F85