最接近的命名颜色 · #5876A1
#5876A1
最接近的命名颜色: Montreux Blue
#5876A1(rgb(88 118 161)、hsl(215 29% 49%)、oklch(0.561 0.076 257.4))最接近命名颜色 Montreux Blue。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5876A1
oklch(0.561 0.076 257.4)
颜色转换
- HEX
- #5876a1
- RGB
- rgb(88 118 161)
- HSL
- hsl(215 29% 49%)
- HWB
- hwb(215 35% 37%)
- OKLCH
- oklch(0.561 0.076 257.4)
- OKLab
- oklab(0.561 -0.017 -0.074)
- CIE Lab
- lab(48.66 -2.06 -26.92)
- LCH
- lch(48.66 27 265.6)
- CMYK
- cmyk(45% 27% 0% 37%)
浅色调 · 深色调 · 灰色调
浅色调
- 6883AA
- 7890B4
- 889EBD
- 98ABC7
- A9B9D0
- B9C7DA
- CAD4E3
- DCE3EC
- EDF1F6
深色调
- 4B668B
- 3F5676
- 334762
- 28384E
- 1D293C
- 121C2A
- 090F19
- 030509
- 000101
灰色调
- 5C779E
- 60789B
- 647998
- 687B94
- 6C7C91
- 707C8E
- 747D8A
- 787E87
- 7C7F84
配色和谐
互补色 +180°
- 5876A1
Montreux Blue
- 8D6F3F
≈ Chilli Green
类似色 -30° +30°
- 5876A1
Montreux Blue
- 3F7E97
≈ Greenland Blue
- 726E9F
≈ Purple Spire
三角配色 +120° +240°
- 5876A1
Montreux Blue
- 9C6264
≈ Pizza Pie
- 5F7F53
≈ Garden Grove
分裂互补色 +150° +210°
- 5876A1
Montreux Blue
- 99674D
≈ Old Driftwood
- 797841
≈ Plant Green
四角配色 +90° +180° +270°
- 5876A1
Montreux Blue
- 96627D
≈ Forest Berry
- 8D6F3F
≈ Chilli Green
- 44836C
≈ Shǔi Cǎo Lǜ Green
对比度与无障碍
Ag
AA白底
WCAG 4.64:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.52:1 · APCA Lc 29
最佳文字颜色: #FFFFFF
WCAG 4.64:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--montreux-blue: #5876a1;
--montreux-blue-rgb: 88 118 161;
--montreux-blue-oklch: oklch(0.561 0.076 257.4);
}
.element {
color: var(--montreux-blue);
background-color: hsl(215 29% 49%);
border-color: oklch(0.561 0.076 257.4);
}Tailwind CSS v4
@theme {
--color-montreux-blue: #5876a1;
--color-montreux-blue-50: #e9f6ff;
--color-montreux-blue-100: #d9e9ff;
--color-montreux-blue-200: #c1d6f5;
--color-montreux-blue-300: #a1b9df;
--color-montreux-blue-400: #82a0cb;
--color-montreux-blue-500: #6688b8;
--color-montreux-blue-600: #57739c;
--color-montreux-blue-700: #455c7d;
--color-montreux-blue-800: #30445c;
--color-montreux-blue-900: #212f41;
--color-montreux-blue-950: #101b29;
}SCSS
$montreux-blue: #5876a1;
$montreux-blue-rgb: 88, 118, 161;
$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);
}