#5B7AEE#5B7AEE
#5B7AEE is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.5% C 0.177 H 269.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7AEE |
|---|---|
| RGB | rgb(91, 122, 238) |
| HSL | hsl(227, 81%, 65%) |
| HSV | hsv(227, 62%, 93%) |
| CMYK | cmyk(61.8%, 48.7%, 0%, 6.7%) |
| CIE-LAB | lab(54.36, 24.20, -61.96) |
| CIE-LCH | lch(54.36, 66.51, 291.33°) |
| OKLab | oklab(61.55% -0.002 -0.1774) |
| OKLCH | oklch(61.55% 0.177 269.4) |
| XYZ | xyz(26.7013, 22.3140, 83.7723) |
| Luminance | 0.2232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.95
Lightish Blue
#3D7AFD
ΔE00 3.32
Soft Blue
#6488EA
ΔE00 4.51
Cornflower Blue
#5170D7
ΔE00 4.69
Dodger Blue
#3E82FC
ΔE00 4.95
Clear Blue
#247AFD
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7AEE #EECF5B
analogous
#5BC3EE #5B7AEE #865BEE
triadic
#5B7AEE #EE5B7A #7AEE5B
tetradic
#5B7AEE #EE5BC3 #EECF5B #5BEE86
square
#5B7AEE #EE5BC3 #EECF5B #5BEE86
split-complementary
#5B7AEE #EE865B #C3EE5B
monochromatic
#1337BB #244DE8 #5B7AEE #92A7F4 #CAD4F9
Accessibility & contrast
On white
3.84
#5B7AEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.46
#5B7AEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7AEE
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7AEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7AEE | 1.00 | 3.84 | 5.46 | 5.46 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C89F2
Deuteranopia (green-blind)
#1B7CEC
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5b7aee; /* rgb */ color: rgb(91, 122, 238); /* oklch */ color: oklch(61.5% 0.177 269.4);
Tailwind
colors: {
custom: {
50: '#96a0f4',
500: '#5b7aee',
950: '#000000',
},
}SCSS
$custom: #5b7aee; $custom-light: #96a0f4; $custom-dark: #000000;
JSON
{
"hex": "#5b7aee",
"rgb": {
"r": 91,
"g": 122,
"b": 238
},
"hsl": {
"h": 227.347,
"s": 81.215,
"l": 64.51
},
"oklch": {
"l": 0.61545,
"c": 0.17738,
"h": 269.4
},
"luminance": 0.22316
}Semantic roles & 50–950 ramp
primary
#5B7AEE
secondary
#ECE1B9
accent
#B108DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85