最接近的命名颜色 · #2A846F
#2A846F
最接近的命名颜色: Shadows of Time
#2A846F(rgb(42 132 111)、hsl(166 52% 34%)、oklch(0.555 0.09 174.2))最接近命名颜色 Shadows of Time。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2A846F
oklch(0.555 0.09 174.2)
颜色转换
- HEX
- #2a846f
- RGB
- rgb(42 132 111)
- HSL
- hsl(166 52% 34%)
- HWB
- hwb(166 16% 48%)
- OKLCH
- oklch(0.555 0.09 174.2)
- OKLab
- oklab(0.555 -0.09 0.009)
- CIE Lab
- lab(49.52 -31.61 3.25)
- LCH
- lch(49.52 31.77 174.1)
- CMYK
- cmyk(68% 0% 16% 48%)
浅色调 · 深色调 · 灰色调
浅色调
- 45907C
- 5B9C8A
- 71A898
- 85B4A6
- 99C0B4
- AECDC3
- C2D9D2
- D6E6E1
- EAF2F0
深色调
- 237260
- 1C6051
- 164F42
- 103F34
- 0A2F27
- 05201A
- 02120E
- 010604
- 000101
灰色调
- 388471
- 438472
- 4D8374
- 558376
- 5D8377
- 658279
- 6C827B
- 73817D
- 7A817E
配色和谐
互补色 +180°
- 2A846F
Shadows of Time
- 9C5C76
≈ Rose Wine
类似色 -30° +30°
- 2A846F
Shadows of Time
- 518150
≈ Rambling Green
- 14828B
≈ Riviera Sea
三角配色 +120° +240°
- 2A846F
Shadows of Time
- 7668A3
≈ Reign Over Me
- 9C643D
≈ Mocha Bisque
分裂互补色 +150° +210°
- 2A846F
Shadows of Time
- 8D6091
≈ Chakra
- A15D59
≈ Cheek Red
四角配色 +90° +180° +270°
- 2A846F
Shadows of Time
- 5872A8
≈ Blue Chamber
- 9C5C76
≈ Rose Wine
- 8C6E2D
≈ Corn Harvest
对比度与无障碍
Ag
AA白底
WCAG 4.53:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.62:1 · APCA Lc 30
最佳文字颜色: #000000
WCAG 4.62:1 (AA) · APCA Lc 30
Contrast pairs
代码片段
CSS
:root {
--shadows-of-time: #2a846f;
--shadows-of-time-rgb: 42 132 111;
--shadows-of-time-oklch: oklch(0.555 0.09 174.2);
}
.element {
color: var(--shadows-of-time);
background-color: hsl(166 52% 34%);
border-color: oklch(0.555 0.09 174.2);
}Tailwind CSS v4
@theme {
--color-shadows-of-time: #2a846f;
--color-shadows-of-time-50: #dbfef4;
--color-shadows-of-time-100: #c9f2e7;
--color-shadows-of-time-200: #ace1d3;
--color-shadows-of-time-300: #84c7b6;
--color-shadows-of-time-400: #60b09a;
--color-shadows-of-time-500: #359a82;
--color-shadows-of-time-600: #2f826e;
--color-shadows-of-time-700: #256858;
--color-shadows-of-time-800: #1a4c3f;
--color-shadows-of-time-900: #11352b;
--color-shadows-of-time-950: #032019;
}SCSS
$shadows-of-time: #2a846f;
$shadows-of-time-rgb: 42, 132, 111;
$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);
}