#5F7EBD#5F7EBD
#5F7EBD is a mid, moderate blue. Relative luminance 0.210; OKLCH L 59.7% C 0.103 H 263.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7EBD |
|---|---|
| RGB | rgb(95, 126, 189) |
| HSL | hsl(220, 42%, 56%) |
| HSV | hsv(220, 50%, 74%) |
| CMYK | cmyk(49.7%, 33.3%, 0%, 25.9%) |
| CIE-LAB | lab(52.98, 6.68, -36.46) |
| CIE-LCH | lch(52.98, 37.07, 280.38°) |
| OKLab | oklab(59.68% -0.0115 -0.1026) |
| OKLCH | oklch(59.68% 0.103 263.6) |
| XYZ | xyz(21.3624, 21.0273, 51.0672) |
| Luminance | 0.2103 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 5.16
Off Blue
#5684AE
ΔE00 5.29
Dusty Blue
#5A86AD
ΔE00 5.63
Cornflower Blue
#5170D7
ΔE00 5.67
Soft Blue
#6488EA
ΔE00 6.24
Cool Blue
#4984B8
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7EBD #BD9E5F
analogous
#5FADBD #5F7EBD #6F5FBD
triadic
#5F7EBD #BD5F7E #7EBD5F
tetradic
#5F7EBD #BD5FAD #BD9E5F #5FBD6F
square
#5F7EBD #BD5FAD #BD9E5F #5FBD6F
split-complementary
#5F7EBD #BD6F5F #ADBD5F
monochromatic
#2F4572 #41609E #5F7EBD #8AA1CF #B6C4E1
Accessibility & contrast
On white
4.03
#5F7EBD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#5F7EBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7EBD
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7EBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7EBD | 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)
#6683C0
Deuteranopia (green-blind)
#5B7BBC
Tritanopia (blue-blind)
#368C95
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #5f7ebd; /* rgb */ color: rgb(95, 126, 189); /* oklch */ color: oklch(59.7% 0.103 263.6);
Tailwind
colors: {
custom: {
50: '#92a3d1',
500: '#5f7ebd',
950: '#000000',
},
}SCSS
$custom: #5f7ebd; $custom-light: #92a3d1; $custom-dark: #000000;
JSON
{
"hex": "#5f7ebd",
"rgb": {
"r": 95,
"g": 126,
"b": 189
},
"hsl": {
"h": 220.213,
"s": 41.593,
"l": 55.686
},
"oklch": {
"l": 0.59676,
"c": 0.10323,
"h": 263.6
},
"luminance": 0.21029
}Semantic roles & 50–950 ramp
primary
#5F7EBD
secondary
#CFC3A8
accent
#A956D1
background
#F9FAFC
surface
#F2F3F9
border
#CCCDD2
text
#0D0F14
muted
#7E7F82