#5B82F3#5B82F3
#5B82F3 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.5% C 0.174 H 267.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5B82F3 |
|---|---|
| RGB | rgb(91, 130, 243) |
| HSL | hsl(225, 86%, 65%) |
| HSV | hsv(225, 63%, 95%) |
| CMYK | cmyk(62.6%, 46.5%, 0%, 4.7%) |
| CIE-LAB | lab(56.74, 21.00, -60.91) |
| CIE-LCH | lch(56.74, 64.43, 289.03°) |
| OKLab | oklab(63.46% -0.009 -0.1742) |
| OKLCH | oklch(63.46% 0.174 267) |
| XYZ | xyz(28.4691, 24.6579, 88.0358) |
| Luminance | 0.2466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.15
Dodger Blue
#3E82FC
ΔE00 3.20
Lightish Blue
#3D7AFD
ΔE00 3.43
Cornflower
#6A79F7
ΔE00 4.51
Clear Blue
#247AFD
ΔE00 4.77
Azure
#007FFF
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B82F3 #F3CC5B
analogous
#5BCEF3 #5B82F3 #805BF3
triadic
#5B82F3 #F35B82 #82F35B
tetradic
#5B82F3 #F35BCE #F3CC5B #5BF380
square
#5B82F3 #F35BCE #F3CC5B #5BF380
split-complementary
#5B82F3 #F3805B #CEF35B
monochromatic
#0E3DC5 #2257EF #5B82F3 #94ADF7 #CDD9FB
Accessibility & contrast
On white
3.54
#5B82F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#5B82F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B82F3
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B82F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B82F3 | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#498FF7
Deuteranopia (green-blind)
#2D82F1
Tritanopia (blue-blind)
#009CAF
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5b82f3; /* rgb */ color: rgb(91, 130, 243); /* oklch */ color: oklch(63.5% 0.174 267.0);
Tailwind
colors: {
custom: {
50: '#97a5f8',
500: '#5b82f3',
950: '#000000',
},
}SCSS
$custom: #5b82f3; $custom-light: #97a5f8; $custom-dark: #000000;
JSON
{
"hex": "#5b82f3",
"rgb": {
"r": 91,
"g": 130,
"b": 243
},
"hsl": {
"h": 224.605,
"s": 86.364,
"l": 65.49
},
"oklch": {
"l": 0.63456,
"c": 0.17441,
"h": 267
},
"luminance": 0.2466
}Semantic roles & 50–950 ramp
primary
#5B82F3
secondary
#EEE1BB
accent
#A903E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85