最接近的命名颜色 · #1D064B
#1D064B
最接近的命名颜色: Silent Twilight
#1D064B(rgb(29 6 75)、hsl(260 85% 16%)、oklch(0.222 0.114 288.5))最接近命名颜色 Silent Twilight。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1D064B
oklch(0.222 0.114 288.5)
颜色转换
- HEX
- #1d064b
- RGB
- rgb(29 6 75)
- HSL
- hsl(260 85% 16%)
- HWB
- hwb(260 2% 71%)
- OKLCH
- oklch(0.222 0.114 288.5)
- OKLab
- oklab(0.222 0.036 -0.108)
- CIE Lab
- lab(7.5 26.56 -38.35)
- LCH
- lch(7.5 46.65 304.7)
- CMYK
- cmyk(61% 92% 0% 71%)
浅色调 · 深色调 · 灰色调
浅色调
- 2E215D
- 41386F
- 554F80
- 6B6692
- 827EA4
- 9997B6
- B2B0C8
- CBCADA
- E5E4ED
深色调
- 180440
- 130335
- 0E022B
- 090121
- 050117
- 03000E
- 010006
- 000002
- 000000
灰色调
- 241651
- 2D2357
- 362F5D
- 3F3A62
- 494668
- 54516D
- 5E5D72
- 696877
- 74747C
配色和谐
互补色 +180°
- 1D064B
Silent Twilight
- 1D1C00
≈ Liquorice Root
类似色 -30° +30°
- 1D064B
Silent Twilight
- 001841
≈ Navy
- 2E003A
≈ Poisonous Purple
三角配色 +120° +240°
- 1D064B
Silent Twilight
- 301000
≈ Chocolate Melange
- 002117
≈ Clock Chimes Thirteen
分裂互补色 +150° +210°
- 1D064B
Silent Twilight
- 271800
≈ Cannon Black
- 072200
≈ Rainforest Nights
四角配色 +90° +180° +270°
- 1D064B
Silent Twilight
- 3A000A
≈ Dark Maroon
- 1D1C00
≈ Liquorice Root
- 002021
≈ Stellar Explorer
对比度与无障碍
Ag
AAA白底
WCAG 17.79:1 · APCA Lc 104
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 104
Contrast pairs
代码片段
CSS
:root {
--silent-twilight: #1d064b;
--silent-twilight-rgb: 29 6 75;
--silent-twilight-oklch: oklch(0.222 0.114 288.5);
}
.element {
color: var(--silent-twilight);
background-color: hsl(260 85% 16%);
border-color: oklch(0.222 0.114 288.5);
}Tailwind CSS v4
@theme {
--color-silent-twilight: #1d064b;
--color-silent-twilight-50: #f4f0ff;
--color-silent-twilight-100: #e7e2ff;
--color-silent-twilight-200: #d3cdff;
--color-silent-twilight-300: #b7aeee;
--color-silent-twilight-400: #9c93de;
--color-silent-twilight-500: #8478cd;
--color-silent-twilight-600: #6f66ad;
--color-silent-twilight-700: #59518b;
--color-silent-twilight-800: #403c68;
--color-silent-twilight-900: #2c2949;
--color-silent-twilight-950: #191730;
}SCSS
$silent-twilight: #1d064b;
$silent-twilight-rgb: 29, 6, 75;
$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);
}