#5B7CEE#5B7CEE
#5B7CEE is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.9% C 0.175 H 268.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7CEE |
|---|---|
| RGB | rgb(91, 124, 238) |
| HSL | hsl(227, 81%, 65%) |
| HSV | hsv(227, 62%, 93%) |
| CMYK | cmyk(61.8%, 47.9%, 0%, 6.7%) |
| CIE-LAB | lab(54.88, 22.98, -61.12) |
| CIE-LCH | lch(54.88, 65.30, 290.60°) |
| OKLab | oklab(61.94% -0.0039 -0.1749) |
| OKLCH | oklch(61.94% 0.175 268.7) |
| XYZ | xyz(26.9494, 22.8102, 83.8550) |
| Luminance | 0.2281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.15
Cornflower
#6A79F7
ΔE00 3.28
Soft Blue
#6488EA
ΔE00 3.85
Dodger Blue
#3E82FC
ΔE00 4.42
Clear Blue
#247AFD
ΔE00 4.78
Cornflower Blue
#5170D7
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7CEE #EECD5B
analogous
#5BC5EE #5B7CEE #845BEE
triadic
#5B7CEE #EE5B7C #7CEE5B
tetradic
#5B7CEE #EE5BC5 #EECD5B #5BEE84
square
#5B7CEE #EE5BC5 #EECD5B #5BEE84
split-complementary
#5B7CEE #EE845B #C5EE5B
monochromatic
#1339BB #2450E8 #5B7CEE #92A8F4 #CAD5F9
Accessibility & contrast
On white
3.78
#5B7CEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#5B7CEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7CEE
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7CEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7CEE | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#418AF2
Deuteranopia (green-blind)
#237DEC
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5b7cee; /* rgb */ color: rgb(91, 124, 238); /* oklch */ color: oklch(61.9% 0.175 268.7);
Tailwind
colors: {
custom: {
50: '#96a1f4',
500: '#5b7cee',
950: '#000000',
},
}SCSS
$custom: #5b7cee; $custom-light: #96a1f4; $custom-dark: #000000;
JSON
{
"hex": "#5b7cee",
"rgb": {
"r": 91,
"g": 124,
"b": 238
},
"hsl": {
"h": 226.531,
"s": 81.215,
"l": 64.51
},
"oklch": {
"l": 0.61938,
"c": 0.17494,
"h": 268.7
},
"luminance": 0.22812
}Semantic roles & 50–950 ramp
primary
#5B7CEE
secondary
#ECE0B9
accent
#AE08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85