#5B7DCA#5B7DCA
#5B7DCA is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.124 H 264.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7DCA |
|---|---|
| RGB | rgb(91, 125, 202) |
| HSL | hsl(222, 51%, 57%) |
| HSV | hsv(222, 55%, 79%) |
| CMYK | cmyk(55%, 38.1%, 0%, 20.8%) |
| CIE-LAB | lab(53.12, 10.49, -43.68) |
| CIE-LCH | lch(53.12, 44.92, 283.50°) |
| OKLab | oklab(59.93% -0.0111 -0.1237) |
| OKLCH | oklch(59.93% 0.124 264.9) |
| XYZ | xyz(22.3051, 21.1540, 58.7734) |
| Luminance | 0.2116 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.71
Soft Blue
#6488EA
ΔE00 5.29
Faded Blue
#658CBB
ΔE00 5.52
Off Blue
#5684AE
ΔE00 5.63
Lightish Blue
#3D7AFD
ΔE00 5.71
Dusty Blue
#5A86AD
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7DCA #CAA85B
analogous
#5BB4CA #5B7DCA #715BCA
triadic
#5B7DCA #CA5B7D #7DCA5B
tetradic
#5B7DCA #CA5BB4 #CAA85B #5BCA71
square
#5B7DCA #CA5BB4 #CAA85B #5BCA71
split-complementary
#5B7DCA #CA715B #B4CA5B
monochromatic
#2A4481 #395DAF #5B7DCA #89A2D9 #B8C6E8
Accessibility & contrast
On white
4.01
#5B7DCA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#5B7DCA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7DCA
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7DCA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7DCA | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E84CD
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#198E9A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5b7dca; /* rgb */ color: rgb(91, 125, 202); /* oklch */ color: oklch(59.9% 0.124 264.9);
Tailwind
colors: {
custom: {
50: '#91a2da',
500: '#5b7dca',
950: '#000000',
},
}SCSS
$custom: #5b7dca; $custom-light: #91a2da; $custom-dark: #000000;
JSON
{
"hex": "#5b7dca",
"rgb": {
"r": 91,
"g": 125,
"b": 202
},
"hsl": {
"h": 221.622,
"s": 51.152,
"l": 57.451
},
"oklch": {
"l": 0.59933,
"c": 0.12418,
"h": 264.9
},
"luminance": 0.21156
}Semantic roles & 50–950 ramp
primary
#5B7DCA
secondary
#D7C9AA
accent
#AF4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0F15
muted
#7E7E83