#5B7EDD#5B7EDD
#5B7EDD is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.3% C 0.149 H 266.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7EDD |
|---|---|
| RGB | rgb(91, 126, 221) |
| HSL | hsl(224, 66%, 61%) |
| HSV | hsv(224, 59%, 87%) |
| CMYK | cmyk(58.8%, 43%, 0%, 13.3%) |
| CIE-LAB | lab(54.41, 16.10, -52.36) |
| CIE-LCH | lch(54.41, 54.78, 287.09°) |
| OKLab | oklab(61.26% -0.0084 -0.1491) |
| OKLCH | oklch(61.26% 0.149 266.8) |
| XYZ | xyz(24.8220, 22.3643, 71.4013) |
| Luminance | 0.2237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 3.62
Lightish Blue
#3D7AFD
ΔE00 4.04
Dodger Blue
#3E82FC
ΔE00 4.53
Cornflower Blue
#5170D7
ΔE00 4.89
Clear Blue
#247AFD
ΔE00 4.99
Cornflower
#6A79F7
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7EDD #DDBA5B
analogous
#5BBFDD #5B7EDD #795BDD
triadic
#5B7EDD #DD5B7E #7EDD5B
tetradic
#5B7EDD #DD5BBF #DDBA5B #5BDD79
square
#5B7EDD #DD5BBF #DDBA5B #5BDD79
split-complementary
#5B7EDD #DD795B #BFDD5B
monochromatic
#21429D #2B57D0 #5B7EDD #8EA6E8 #C0CEF2
Accessibility & contrast
On white
3.84
#5B7EDD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.47
#5B7EDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7EDD
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7EDD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7EDD | 1.00 | 3.84 | 5.47 | 5.47 |
| #FFFFFF | 3.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5388E1
Deuteranopia (green-blind)
#417DDB
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5b7edd; /* rgb */ color: rgb(91, 126, 221); /* oklch */ color: oklch(61.3% 0.149 266.8);
Tailwind
colors: {
custom: {
50: '#94a3e8',
500: '#5b7edd',
950: '#000000',
},
}SCSS
$custom: #5b7edd; $custom-light: #94a3e8; $custom-dark: #000000;
JSON
{
"hex": "#5b7edd",
"rgb": {
"r": 91,
"g": 126,
"b": 221
},
"hsl": {
"h": 223.846,
"s": 65.657,
"l": 61.176
},
"oklch": {
"l": 0.61263,
"c": 0.14936,
"h": 266.8
},
"luminance": 0.22366
}Semantic roles & 50–950 ramp
primary
#5B7EDD
secondary
#E2D5B1
accent
#9D18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84