最接近的命名颜色 · #080D4F
#080D4F
最接近的命名颜色: Silent Twilight
#080D4F(rgb(8 13 79)、hsl(236 82% 17%)、oklch(0.219 0.117 268.9))最接近命名颜色 Silent Twilight。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#080D4F
oklch(0.219 0.117 268.9)
颜色转换
- HEX
- #080d4f
- RGB
- rgb(8 13 79)
- HSL
- hsl(236 82% 17%)
- HWB
- hwb(236 3% 69%)
- OKLCH
- oklch(0.219 0.117 268.9)
- OKLab
- oklab(0.219 -0.002 -0.117)
- CIE Lab
- lab(7.38 20.62 -41.4)
- LCH
- lch(7.38 46.26 296.5)
- CMYK
- cmyk(90% 84% 0% 69%)
浅色调 · 深色调 · 灰色调
浅色调
- 182661
- 2D3D72
- 435484
- 5B6B95
- 7482A7
- 8F9AB8
- AAB3CA
- C5CCDC
- E2E5ED
深色调
- 060A44
- 040738
- 03052E
- 020323
- 010219
- 010110
- 000007
- 000002
- 000000
灰色调
- 101B55
- 1A275B
- 253360
- 313E65
- 3D496A
- 4A546F
- 575F74
- 646A78
- 72757C
配色和谐
互补色 +180°
- 080D4F
Silent Twilight
- 231900
≈ Cannon Black
类似色 -30° +30°
- 080D4F
Silent Twilight
- 001D2E
≈ Oxford by Night
- 240047
≈ Your Darkness
三角配色 +120° +240°
- 080D4F
Silent Twilight
- 3A0000
≈ Dark Maroon
- 002208
≈ Rainforest Nights
分裂互补色 +150° +210°
- 080D4F
Silent Twilight
- 2B1300
≈ Shadow Play
- 181D00
≈ Yuzu Soy
四角配色 +90° +180° +270°
- 080D4F
Silent Twilight
- 370019
≈ Rhodophobia
- 231900
≈ Cannon Black
- 00201B
≈ Stellar Explorer
对比度与无障碍
Ag
AAA白底
WCAG 17.78:1 · APCA Lc 104
Ag
Fail黑底
WCAG 1.18:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.78:1 (AAA) · APCA Lc 104
Contrast pairs
代码片段
CSS
:root {
--silent-twilight: #080d4f;
--silent-twilight-rgb: 8 13 79;
--silent-twilight-oklch: oklch(0.219 0.117 268.9);
}
.element {
color: var(--silent-twilight);
background-color: hsl(236 82% 17%);
border-color: oklch(0.219 0.117 268.9);
}Tailwind CSS v4
@theme {
--color-silent-twilight: #080d4f;
--color-silent-twilight-50: #e8f4ff;
--color-silent-twilight-100: #d9e7ff;
--color-silent-twilight-200: #c1d2ff;
--color-silent-twilight-300: #a1b5f4;
--color-silent-twilight-400: #829be4;
--color-silent-twilight-500: #6681d3;
--color-silent-twilight-600: #576db2;
--color-silent-twilight-700: #45588f;
--color-silent-twilight-800: #30406b;
--color-silent-twilight-900: #202c4b;
--color-silent-twilight-950: #101932;
}SCSS
$silent-twilight: #080d4f;
$silent-twilight-rgb: 8, 13, 79;
$silent-twilight-light: mix(#fff, $silent-twilight, 20%);
$silent-twilight-dark: mix(#000, $silent-twilight, 20%);
.element {
color: $silent-twilight;
box-shadow: 0 0 0 2px rgba($silent-twilight, 0.35);
}