#5B7DCD#5B7DCD
#5B7DCD is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.1% C 0.128 H 265.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7DCD |
|---|---|
| RGB | rgb(91, 125, 205) |
| HSL | hsl(222, 53%, 58%) |
| HSV | hsv(222, 56%, 80%) |
| CMYK | cmyk(55.6%, 39%, 0%, 19.6%) |
| CIE-LAB | lab(53.27, 11.46, -45.13) |
| CIE-LCH | lch(53.27, 46.56, 284.25°) |
| OKLab | oklab(60.11% -0.0104 -0.1279) |
| OKLCH | oklch(60.11% 0.128 265.4) |
| XYZ | xyz(22.6637, 21.2974, 60.6623) |
| Luminance | 0.2130 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.61
Soft Blue
#6488EA
ΔE00 5.03
Lightish Blue
#3D7AFD
ΔE00 5.43
Faded Blue
#658CBB
ΔE00 5.58
Off Blue
#5684AE
ΔE00 5.78
Dodger Blue
#3E82FC
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7DCD #CDAB5B
analogous
#5BB6CD #5B7DCD #725BCD
triadic
#5B7DCD #CD5B7D #7DCD5B
tetradic
#5B7DCD #CD5BB6 #CDAB5B #5BCD72
square
#5B7DCD #CD5BB6 #CDAB5B #5BCD72
split-complementary
#5B7DCD #CD725B #B6CD5B
monochromatic
#294485 #375CB4 #5B7DCD #8AA2DB #B9C7EA
Accessibility & contrast
On white
3.99
#5B7DCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#5B7DCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7DCD
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7DCD | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#138F9B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5b7dcd; /* rgb */ color: rgb(91, 125, 205); /* oklch */ color: oklch(60.1% 0.128 265.4);
Tailwind
colors: {
custom: {
50: '#91a2dc',
500: '#5b7dcd',
950: '#000000',
},
}SCSS
$custom: #5b7dcd; $custom-light: #91a2dc; $custom-dark: #000000;
JSON
{
"hex": "#5b7dcd",
"rgb": {
"r": 91,
"g": 125,
"b": 205
},
"hsl": {
"h": 222.105,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.60105,
"c": 0.12837,
"h": 265.4
},
"luminance": 0.21299
}Semantic roles & 50–950 ramp
primary
#5B7DCD
secondary
#D9CBAB
accent
#B14BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0F15
muted
#7E7E83