#5F7FBB#5F7FBB
#5F7FBB is a mid, moderate blue. Relative luminance 0.212; OKLCH L 59.8% C 0.099 H 262.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7FBB |
|---|---|
| RGB | rgb(95, 127, 187) |
| HSL | hsl(219, 40%, 55%) |
| HSV | hsv(219, 49%, 73%) |
| CMYK | cmyk(49.2%, 32.1%, 0%, 26.7%) |
| CIE-LAB | lab(53.17, 5.46, -35.02) |
| CIE-LCH | lch(53.17, 35.45, 278.86°) |
| OKLab | oklab(59.79% -0.0133 -0.0984) |
| OKLCH | oklch(59.79% 0.099 262.3) |
| XYZ | xyz(21.2754, 21.1981, 49.9746) |
| Luminance | 0.2120 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 4.77
Off Blue
#5684AE
ΔE00 4.92
Dusty Blue
#5A86AD
ΔE00 5.26
Cool Blue
#4984B8
ΔE00 5.97
Cornflower Blue
#5170D7
ΔE00 6.03
Soft Blue
#6488EA
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7FBB #BB9B5F
analogous
#5FADBB #5F7FBB #6D5FBB
triadic
#5F7FBB #BB5F7F #7FBB5F
tetradic
#5F7FBB #BB5FAD #BB9B5F #5FBB6D
square
#5F7FBB #BB5FAD #BB9B5F #5FBB6D
split-complementary
#5F7FBB #BB6D5F #ADBB5F
monochromatic
#304670 #42619B #5F7FBB #8AA1CD #B5C4E0
Accessibility & contrast
On white
4.01
#5F7FBB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#5F7FBB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7FBB
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7FBB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7FBB | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6884BE
Deuteranopia (green-blind)
#5E7BBA
Tritanopia (blue-blind)
#378C94
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5f7fbb; /* rgb */ color: rgb(95, 127, 187); /* oklch */ color: oklch(59.8% 0.099 262.3);
Tailwind
colors: {
custom: {
50: '#91a3cf',
500: '#5f7fbb',
950: '#000000',
},
}SCSS
$custom: #5f7fbb; $custom-light: #91a3cf; $custom-dark: #000000;
JSON
{
"hex": "#5f7fbb",
"rgb": {
"r": 95,
"g": 127,
"b": 187
},
"hsl": {
"h": 219.13,
"s": 40.351,
"l": 55.294
},
"oklch": {
"l": 0.5979,
"c": 0.09931,
"h": 262.3
},
"luminance": 0.21199
}Semantic roles & 50–950 ramp
primary
#5F7FBB
secondary
#CEC1A8
accent
#A658D0
background
#F9FAFC
surface
#F1F3F9
border
#CBCDD2
text
#0D0F14
muted
#7E7F82