#5B7DCC#5B7DCC
#5B7DCC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.0% C 0.127 H 265.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5B7DCC |
|---|---|
| RGB | rgb(91, 125, 204) |
| HSL | hsl(222, 53%, 58%) |
| HSV | hsv(222, 55%, 80%) |
| CMYK | cmyk(55.4%, 38.7%, 0%, 20%) |
| CIE-LAB | lab(53.22, 11.13, -44.65) |
| CIE-LCH | lch(53.22, 46.02, 284.00°) |
| OKLab | oklab(60.05% -0.0106 -0.1265) |
| OKLCH | oklch(60.05% 0.127 265.2) |
| XYZ | xyz(22.5434, 21.2493, 60.0286) |
| Luminance | 0.2125 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.65
Soft Blue
#6488EA
ΔE00 5.12
Lightish Blue
#3D7AFD
ΔE00 5.52
Faded Blue
#658CBB
ΔE00 5.56
Off Blue
#5684AE
ΔE00 5.73
Dodger Blue
#3E82FC
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B7DCC #CCAA5B
analogous
#5BB5CC #5B7DCC #715BCC
triadic
#5B7DCC #CC5B7D #7DCC5B
tetradic
#5B7DCC #CC5BB5 #CCAA5B #5BCC71
square
#5B7DCC #CC5BB5 #CCAA5B #5BCC71
split-complementary
#5B7DCC #CC715B #B5CC5B
monochromatic
#294484 #375CB2 #5B7DCC #8AA2DB #B8C7E9
Accessibility & contrast
On white
4.00
#5B7DCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#5B7DCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B7DCC
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B7DCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B7DCC | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C85CF
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#158E9B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5b7dcc; /* rgb */ color: rgb(91, 125, 204); /* oklch */ color: oklch(60.0% 0.127 265.2);
Tailwind
colors: {
custom: {
50: '#91a2dc',
500: '#5b7dcc',
950: '#000000',
},
}SCSS
$custom: #5b7dcc; $custom-light: #91a2dc; $custom-dark: #000000;
JSON
{
"hex": "#5b7dcc",
"rgb": {
"r": 91,
"g": 125,
"b": 204
},
"hsl": {
"h": 221.947,
"s": 52.558,
"l": 57.843
},
"oklch": {
"l": 0.60047,
"c": 0.12697,
"h": 265.2
},
"luminance": 0.21251
}Semantic roles & 50–950 ramp
primary
#5B7DCC
secondary
#D8CAAB
accent
#B14CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0F15
muted
#7E7E83