Nearest named color · #5177A3
#5177A3
Nearest named color: Montreux Blue
#5177A3 (rgb(81 119 163), hsl(212 34% 48%), oklch(0.56 0.081 252.8)) is closest to the named color Montreux Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5177A3
oklch(0.56 0.081 252.8)
Color conversions
- HEX
- #5177a3
- RGB
- rgb(81 119 163)
- HSL
- hsl(212 34% 48%)
- HWB
- hwb(212 32% 36%)
- OKLCH
- oklch(0.56 0.081 252.8)
- OKLab
- oklab(0.56 -0.024 -0.078)
- CIE Lab
- lab(48.61 -4.1 -28.21)
- LCH
- lch(48.61 28.51 261.7)
- CMYK
- cmyk(50% 27% 0% 36%)
Tints · Shades · Tones
Tints
- 6284AC
- 7291B6
- 839FBF
- 94ACC8
- A5B9D1
- B7C7DA
- C9D5E4
- DBE3ED
- EDF1F6
Shades
- 45678D
- 3A5778
- 2F4763
- 24384F
- 1A2A3C
- 101C2A
- 071019
- 02050A
- 000101
Tones
- 5678A0
- 5B799C
- 607A99
- 657B96
- 697C92
- 6E7D8F
- 737E8B
- 777F87
- 7C7F84
Color harmonies
Complementary +180°
- 5177A3
Montreux Blue
- 916D3B
≈ Olde World Gold
Analogous -30° +30°
- 5177A3
Montreux Blue
- 357F97
≈ Greenland Blue
- 6D6EA3
≈ Kimberlite
Triadic +120° +240°
- 5177A3
Montreux Blue
- 9E6067
≈ Pizza Pie
- 627F4C
≈ Green Knoll
Split-complementary +150° +210°
- 5177A3
Montreux Blue
- 9D644D
≈ Tuscan Rooftops
- 7D763B
≈ Trellis Climber
Tetradic +90° +180° +270°
- 5177A3
Montreux Blue
- 966181
≈ Rust Magenta
- 916D3B
≈ Olde World Gold
- 438366
≈ Bathing Beauty
Contrast & accessibility
Ag
AAOn white
WCAG 4.64:1 · APCA Lc 72
Ag
AAOn black
WCAG 4.51:1 · APCA Lc 29
Best text color: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 72
Contrast pairs
Code snippets
CSS
:root {
--montreux-blue: #5177a3;
--montreux-blue-rgb: 81 119 163;
--montreux-blue-oklch: oklch(0.56 0.081 252.8);
}
.element {
color: var(--montreux-blue);
background-color: hsl(212 34% 48%);
border-color: oklch(0.56 0.081 252.8);
}Tailwind CSS v4
@theme {
--color-montreux-blue: #5177a3;
--color-montreux-blue-50: #e6f7ff;
--color-montreux-blue-100: #d6eaff;
--color-montreux-blue-200: #bdd7f7;
--color-montreux-blue-300: #9cbae1;
--color-montreux-blue-400: #7ca2ce;
--color-montreux-blue-500: #5e89bb;
--color-montreux-blue-600: #50749e;
--color-montreux-blue-700: #405d7f;
--color-montreux-blue-800: #2c445e;
--color-montreux-blue-900: #1e2f42;
--color-montreux-blue-950: #0e1c2a;
}SCSS
$montreux-blue: #5177a3;
$montreux-blue-rgb: 81, 119, 163;
$montreux-blue-light: mix(#fff, $montreux-blue, 20%);
$montreux-blue-dark: mix(#000, $montreux-blue, 20%);
.element {
color: $montreux-blue;
box-shadow: 0 0 0 2px rgba($montreux-blue, 0.35);
}