最接近的命名颜色 · #31846C
#31846C
最接近的命名颜色: Shadows of Time
#31846C(rgb(49 132 108)、hsl(163 46% 35%)、oklch(0.556 0.089 170.7))最接近命名颜色 Shadows of Time。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#31846C
oklch(0.556 0.089 170.7)
颜色转换
- HEX
- #31846c
- RGB
- rgb(49 132 108)
- HSL
- hsl(163 46% 35%)
- HWB
- hwb(163 19% 48%)
- OKLCH
- oklch(0.556 0.089 170.7)
- OKLab
- oklab(0.556 -0.088 0.014)
- CIE Lab
- lab(49.66 -30.83 5.21)
- LCH
- lch(49.66 31.26 170.4)
- CMYK
- cmyk(63% 0% 18% 48%)
浅色调 · 深色调 · 灰色调
浅色调
- 49907A
- 5F9C88
- 73A896
- 87B4A4
- 9BC0B3
- AFCDC2
- C3D9D1
- D7E6E0
- EBF2EF
深色调
- 29725D
- 22604E
- 1A4F40
- 133F32
- 0C2F25
- 062019
- 03120D
- 010604
- 000100
灰色调
- 3D846E
- 478470
- 508372
- 588374
- 5F8376
- 668278
- 6D827A
- 74817C
- 7A817E
配色和谐
互补色 +180°
- 31846C
Shadows of Time
- 9B5D7A
≈ Rose Wine
类似色 -30° +30°
- 31846C
Shadows of Time
- 56804E
≈ Rambling Green
- 198388
≈ Precious Blue
三角配色 +120° +240°
- 31846C
Shadows of Time
- 736AA4
≈ Inner Journey
- 9D6341
≈ Mocha Bisque
分裂互补色 +150° +210°
- 31846C
Shadows of Time
- 8B6293
≈ Chakra
- A15D5D
≈ Pizza Pie
四角配色 +90° +180° +270°
- 31846C
Shadows of Time
- 5573A7
≈ Blue Chamber
- 9B5D7A
≈ Rose Wine
- 8E6D30
≈ Dirt Yellow
对比度与无障碍
Ag
AA白底
WCAG 4.51:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.64:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.64:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--shadows-of-time: #31846c;
--shadows-of-time-rgb: 49 132 108;
--shadows-of-time-oklch: oklch(0.556 0.089 170.7);
}
.element {
color: var(--shadows-of-time);
background-color: hsl(163 46% 35%);
border-color: oklch(0.556 0.089 170.7);
}Tailwind CSS v4
@theme {
--color-shadows-of-time: #31846c;
--color-shadows-of-time-50: #ddfef2;
--color-shadows-of-time-100: #cbf2e5;
--color-shadows-of-time-200: #aee1d0;
--color-shadows-of-time-300: #87c7b3;
--color-shadows-of-time-400: #64b097;
--color-shadows-of-time-500: #3c997e;
--color-shadows-of-time-600: #34816b;
--color-shadows-of-time-700: #2a6855;
--color-shadows-of-time-800: #1e4c3d;
--color-shadows-of-time-900: #14352a;
--color-shadows-of-time-950: #052017;
}SCSS
$shadows-of-time: #31846c;
$shadows-of-time-rgb: 49, 132, 108;
$shadows-of-time-light: mix(#fff, $shadows-of-time, 20%);
$shadows-of-time-dark: mix(#000, $shadows-of-time, 20%);
.element {
color: $shadows-of-time;
box-shadow: 0 0 0 2px rgba($shadows-of-time, 0.35);
}