最接近的命名颜色 · #0A1828
#0A1828
最接近的命名颜色: The Count’s Black
#0A1828(rgb(10 24 40)、hsl(212 60% 10%)、oklch(0.206 0.038 252.9))最接近命名颜色 The Count’s Black。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#0A1828
oklch(0.206 0.038 252.9)
颜色转换
- HEX
- #0a1828
- RGB
- rgb(10 24 40)
- HSL
- hsl(212 60% 10%)
- HWB
- hwb(212 4% 84%)
- OKLCH
- oklch(0.206 0.038 252.9)
- OKLab
- oklab(0.206 -0.011 -0.036)
- CIE Lab
- lab(7.69 -1.33 -12.98)
- LCH
- lch(7.69 13.05 264.2)
- CMYK
- cmyk(75% 40% 0% 84%)
浅色调 · 深色调 · 灰色调
浅色调
- 1E2B3B
- 333F4E
- 495562
- 616B77
- 79828C
- 939AA2
- ADB2B9
- C7CBD0
- E3E5E7
深色调
- 071321
- 050F1B
- 030A15
- 02070F
- 010409
- 010204
- 000102
- 000001
- 000000
灰色调
- 152130
- 1F2B39
- 2A3541
- 363F4A
- 414953
- 4D545B
- 5A5F64
- 666A6E
- 737577
配色和谐
互补色 +180°
- 0A1828
The Count’s Black
- 221403
≈ Super Black
类似色 -30° +30°
- 0A1828
The Count’s Black
- 001B24
≈ Creeping Death
- 151528
≈ Sambucus
三角配色 +120° +240°
- 0A1828
The Count’s Black
- 261012
≈ Italian Roast
- 101B08
≈ Pinch of Pepper
分裂互补色 +150° +210°
- 0A1828
The Count’s Black
- 251109
≈ Severely Burnt Toast
- 1A1803
≈ Noir Mystique
四角配色 +90° +180° +270°
- 0A1828
The Count’s Black
- 23101C
≈ Inside
- 221403
≈ Super Black
- 041D12
≈ Clock Chimes Thirteen
对比度与无障碍
Ag
AAA白底
WCAG 17.88:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.88:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--the-count-s-black: #0a1828;
--the-count-s-black-rgb: 10 24 40;
--the-count-s-black-oklch: oklch(0.206 0.038 252.9);
}
.element {
color: var(--the-count-s-black);
background-color: hsl(212 60% 10%);
border-color: oklch(0.206 0.038 252.9);
}Tailwind CSS v4
@theme {
--color-the-count-s-black: #0a1828;
--color-the-count-s-black-50: #eef6ff;
--color-the-count-s-black-100: #e0e9f5;
--color-the-count-s-black-200: #cad5e5;
--color-the-count-s-black-300: #abb9cb;
--color-the-count-s-black-400: #8fa0b5;
--color-the-count-s-black-500: #75889f;
--color-the-count-s-black-600: #637386;
--color-the-count-s-black-700: #4f5c6c;
--color-the-count-s-black-800: #39444f;
--color-the-count-s-black-900: #272f37;
--color-the-count-s-black-950: #151b22;
}SCSS
$the-count-s-black: #0a1828;
$the-count-s-black-rgb: 10, 24, 40;
$the-count-s-black-light: mix(#fff, $the-count-s-black, 20%);
$the-count-s-black-dark: mix(#000, $the-count-s-black, 20%);
.element {
color: $the-count-s-black;
box-shadow: 0 0 0 2px rgba($the-count-s-black, 0.35);
}