#5B7EEA#5B7EEA
#5B7EEA is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.1% C 0.167 H 267.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7EEA |
|---|---|
| RGB | rgb(91, 126, 234) |
| HSL | hsl(225, 77%, 64%) |
| HSV | hsv(225, 61%, 92%) |
| CMYK | cmyk(61.1%, 46.2%, 0%, 8.2%) |
| CIE-LAB | lab(55.16, 20.42, -58.44) |
| CIE-LCH | lch(55.16, 61.91, 289.26°) |
| OKLab | oklab(62.08% -0.0063 -0.167) |
| OKLCH | oklch(62.08% 0.167 267.8) |
| XYZ | xyz(26.6215, 23.0841, 80.8787) |
| Luminance | 0.2309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.20
Lightish Blue
#3D7AFD
ΔE00 3.25
Cornflower
#6A79F7
ΔE00 3.99
Dodger Blue
#3E82FC
ΔE00 4.00
Clear Blue
#247AFD
ΔE00 4.66
Cornflower Blue
#5170D7
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7EEA #EAC75B
analogous
#5BC5EA #5B7EEA #7F5BEA
triadic
#5B7EEA #EA5B7E #7EEA5B
tetradic
#5B7EEA #EA5BC5 #EAC75B #5BEA7F
square
#5B7EEA #EA5BC5 #EAC75B #5BEA7F
split-complementary
#5B7EEA #EA7F5B #C5EA5B
monochromatic
#173DB4 #2553E3 #5B7EEA #91A9F1 #C8D3F8
Accessibility & contrast
On white
3.74
#5B7EEA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#5B7EEA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7EEA
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7EEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7EEA | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#317EE8
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5b7eea; /* rgb */ color: rgb(91, 126, 234); /* oklch */ color: oklch(62.1% 0.167 267.8);
Tailwind
colors: {
custom: {
50: '#95a2f1',
500: '#5b7eea',
950: '#000000',
},
}SCSS
$custom: #5b7eea; $custom-light: #95a2f1; $custom-dark: #000000;
JSON
{
"hex": "#5b7eea",
"rgb": {
"r": 91,
"g": 126,
"b": 234
},
"hsl": {
"h": 225.315,
"s": 77.297,
"l": 63.725
},
"oklch": {
"l": 0.62076,
"c": 0.1671,
"h": 267.8
},
"luminance": 0.23086
}Semantic roles & 50–950 ramp
primary
#5B7EEA
secondary
#EADDB7
accent
#A70CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85