#5F7BCD#5F7BCD
#5F7BCD is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.129 H 268.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7BCD |
|---|---|
| RGB | rgb(95, 123, 205) |
| HSL | hsl(225, 52%, 59%) |
| HSV | hsv(225, 54%, 80%) |
| CMYK | cmyk(53.7%, 40%, 0%, 19.6%) |
| CIE-LAB | lab(52.95, 13.53, -45.62) |
| CIE-LCH | lch(52.95, 47.59, 286.52°) |
| OKLab | oklab(59.92% -0.0042 -0.1293) |
| OKLCH | oklch(59.92% 0.129 268.1) |
| XYZ | xyz(22.8181, 21.0050, 60.5977) |
| Luminance | 0.2101 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.08
Soft Blue
#6488EA
ΔE00 5.52
Lightish Blue
#3D7AFD
ΔE00 5.97
Cornflower
#6A79F7
ΔE00 6.07
Faded Blue
#658CBB
ΔE00 6.36
Off Blue
#5684AE
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7BCD #CDB15F
analogous
#5FB2CD #5F7BCD #7A5FCD
triadic
#5F7BCD #CD5F7B #7BCD5F
tetradic
#5F7BCD #CD5FB2 #CDB15F #5FCD7A
square
#5F7BCD #CD5FB2 #CDB15F #5FCD7A
split-complementary
#5F7BCD #CD7A5F #B2CD5F
monochromatic
#2A4287 #3959B6 #5F7BCD #8EA1DC #BCC8EA
Accessibility & contrast
On white
4.04
#5F7BCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#5F7BCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7BCD
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7BCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7BCD | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5984D0
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#268D9A
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f7bcd; /* rgb */ color: rgb(95, 123, 205); /* oklch */ color: oklch(59.9% 0.129 268.1);
Tailwind
colors: {
custom: {
50: '#94a0dc',
500: '#5f7bcd',
950: '#000000',
},
}SCSS
$custom: #5f7bcd; $custom-light: #94a0dc; $custom-dark: #000000;
JSON
{
"hex": "#5f7bcd",
"rgb": {
"r": 95,
"g": 123,
"b": 205
},
"hsl": {
"h": 224.727,
"s": 52.381,
"l": 58.824
},
"oklch": {
"l": 0.59919,
"c": 0.1294,
"h": 268.1
},
"luminance": 0.21007
}Semantic roles & 50–950 ramp
primary
#5F7BCD
secondary
#DACFAE
accent
#B74CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83