#5B7BD2#5B7BD2
#5B7BD2 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.0% C 0.138 H 267.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7BD2 |
|---|---|
| RGB | rgb(91, 123, 210) |
| HSL | hsl(224, 57%, 59%) |
| HSV | hsv(224, 57%, 82%) |
| CMYK | cmyk(56.7%, 41.4%, 0%, 17.6%) |
| CIE-LAB | lab(52.99, 14.31, -48.41) |
| CIE-LCH | lch(52.99, 50.48, 286.46°) |
| OKLab | oklab(59.98% -0.0072 -0.1376) |
| OKLCH | oklch(59.98% 0.138 267) |
| XYZ | xyz(23.0263, 21.0414, 63.8083) |
| Luminance | 0.2104 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.84
Lightish Blue
#3D7AFD
ΔE00 5.09
Soft Blue
#6488EA
ΔE00 5.16
Clear Blue
#247AFD
ΔE00 5.82
Cornflower
#6A79F7
ΔE00 5.87
Dodger Blue
#3E82FC
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7BD2 #D2B25B
analogous
#5BB6D2 #5B7BD2 #775BD2
triadic
#5B7BD2 #D25B7B #7BD25B
tetradic
#5B7BD2 #D25BB6 #D2B25B #5BD277
square
#5B7BD2 #D25BB6 #D2B25B #5BD277
split-complementary
#5B7BD2 #D2775B #B6D25B
monochromatic
#26428C #3458BC #5B7BD2 #8BA2DF #BBC8EC
Accessibility & contrast
On white
4.03
#5B7BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#5B7BD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7BD2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7BD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7BD2 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5684D5
Deuteranopia (green-blind)
#467AD0
Tritanopia (blue-blind)
#038E9C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5b7bd2; /* rgb */ color: rgb(91, 123, 210); /* oklch */ color: oklch(60.0% 0.138 267.0);
Tailwind
colors: {
custom: {
50: '#92a0e0',
500: '#5b7bd2',
950: '#000000',
},
}SCSS
$custom: #5b7bd2; $custom-light: #92a0e0; $custom-dark: #000000;
JSON
{
"hex": "#5b7bd2",
"rgb": {
"r": 91,
"g": 123,
"b": 210
},
"hsl": {
"h": 223.866,
"s": 56.938,
"l": 59.02
},
"oklch": {
"l": 0.59977,
"c": 0.13776,
"h": 267
},
"luminance": 0.21043
}Semantic roles & 50–950 ramp
primary
#5B7BD2
secondary
#DCCFAD
accent
#B748E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83