最接近的命名颜色 · #21836E
#21836E
最接近的命名颜色: Shadows of Time
#21836E(rgb(33 131 110)、hsl(167 60% 32%)、oklch(0.549 0.094 174.8))最接近命名颜色 Shadows of Time。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#21836E
oklch(0.549 0.094 174.8)
颜色转换
- HEX
- #21836e
- RGB
- rgb(33 131 110)
- HSL
- hsl(167 60% 32%)
- HWB
- hwb(167 13% 49%)
- OKLCH
- oklch(0.549 0.094 174.8)
- OKLab
- oklab(0.549 -0.093 0.009)
- CIE Lab
- lab(48.95 -32.89 2.98)
- LCH
- lch(48.95 33.02 174.8)
- CMYK
- cmyk(75% 0% 16% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 3F8F7B
- 579B89
- 6DA797
- 82B4A5
- 97C0B4
- ACCCC2
- C1D9D1
- D5E6E0
- EAF2F0
深色调
- 1B715F
- 166050
- 104F41
- 0B3F33
- 062F26
- 032019
- 01120E
- 000604
- 000101
灰色调
- 328370
- 3E8372
- 498373
- 538275
- 5B8277
- 638279
- 6B817B
- 72817C
- 79817E
配色和谐
互补色 +180°
- 21836E
Shadows of Time
- 9C5974
≈ Rose Wine
类似色 -30° +30°
- 21836E
Shadows of Time
- 4D804E
≈ Tarmac Green
- 00818B
≈ Briny
三角配色 +120° +240°
- 21836E
Shadows of Time
- 7566A2
≈ Reign Over Me
- 9B6239
≈ Ash Brown
分裂互补色 +150° +210°
- 21836E
Shadows of Time
- 8D5E90
≈ Chakra
- A15A55
≈ Cheek Red
四角配色 +90° +180° +270°
- 21836E
Shadows of Time
- 5670A8
≈ Blue Chamber
- 9C5974
≈ Rose Wine
- 8B6D28
≈ Corn Harvest
对比度与无障碍
Ag
AA白底
WCAG 4.62:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.53:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.62:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--shadows-of-time: #21836e;
--shadows-of-time-rgb: 33 131 110;
--shadows-of-time-oklch: oklch(0.549 0.094 174.8);
}
.element {
color: var(--shadows-of-time);
background-color: hsl(167 60% 32%);
border-color: oklch(0.549 0.094 174.8);
}Tailwind CSS v4
@theme {
--color-shadows-of-time: #21836e;
--color-shadows-of-time-50: #dafff4;
--color-shadows-of-time-100: #c8f3e7;
--color-shadows-of-time-200: #aae2d3;
--color-shadows-of-time-300: #82c8b6;
--color-shadows-of-time-400: #5cb19b;
--color-shadows-of-time-500: #2e9a82;
--color-shadows-of-time-600: #29826e;
--color-shadows-of-time-700: #216858;
--color-shadows-of-time-800: #174d3f;
--color-shadows-of-time-900: #0f352b;
--color-shadows-of-time-950: #022019;
}SCSS
$shadows-of-time: #21836e;
$shadows-of-time-rgb: 33, 131, 110;
$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);
}