最接近的命名颜色 · #010161
#010161
最接近的命名颜色: Alone in the Dark
#010161(rgb(1 1 97)、hsl(240 98% 19%)、oklch(0.225 0.153 264.6))最接近命名颜色 Alone in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#010161
oklch(0.225 0.153 264.6)
颜色转换
- HEX
- #010161
- RGB
- rgb(1 1 97)
- HSL
- hsl(240 98% 19%)
- HWB
- hwb(240 0% 62%)
- OKLCH
- oklch(0.225 0.153 264.6)
- OKLab
- oklab(0.225 -0.014 -0.152)
- CIE Lab
- lab(6.8 32.74 -54.59)
- LCH
- lch(6.8 63.65 301)
- CMYK
- cmyk(99% 99% 0% 62%)
浅色调 · 深色调 · 灰色调
浅色调
- 0A2472
- 213D82
- 395493
- 526CA3
- 6D83B2
- 899BC2
- A5B4D2
- C2CCE1
- E0E5F0
深色调
- 010153
- 010146
- 000039
- 00002D
- 000021
- 000015
- 00000B
- 000003
- 000000
灰色调
- 031765
- 0D266A
- 1B336E
- 283E71
- 364A75
- 445578
- 53607A
- 626A7D
- 71757E
配色和谐
互补色 +180°
- 010161
Alone in the Dark
- 261900
≈ Cannon Black
类似色 -30° +30°
- 010161
Alone in the Dark
- 001F2E
≈ Cyanophobia
- 23004D
≈ Crowberry
三角配色 +120° +240°
- 010161
Alone in the Dark
- 3C0004
≈ Dark Maroon
- 002403
≈ Tides of Darkness
分裂互补色 +150° +210°
- 010161
Alone in the Dark
- 2F1300
≈ Shadow Play
- 1B1E00
≈ Liquorice Root
四角配色 +90° +180° +270°
- 010161
Alone in the Dark
- 39001E
≈ Rhodophobia
- 261900
≈ Cannon Black
- 00221A
≈ Stellar Explorer
对比度与无障碍
Ag
AAA白底
WCAG 17.82:1 · APCA Lc 103
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.82:1 (AAA) · APCA Lc 103
Contrast pairs
代码片段
CSS
:root {
--alone-in-the-dark: #010161;
--alone-in-the-dark-rgb: 1 1 97;
--alone-in-the-dark-oklch: oklch(0.225 0.153 264.6);
}
.element {
color: var(--alone-in-the-dark);
background-color: hsl(240 98% 19%);
border-color: oklch(0.225 0.153 264.6);
}Tailwind CSS v4
@theme {
--color-alone-in-the-dark: #010161;
--color-alone-in-the-dark-50: #e1f5ff;
--color-alone-in-the-dark-100: #d1e7ff;
--color-alone-in-the-dark-200: #b6d3ff;
--color-alone-in-the-dark-300: #94b5ff;
--color-alone-in-the-dark-400: #719bf8;
--color-alone-in-the-dark-500: #5280ea;
--color-alone-in-the-dark-600: #466cc6;
--color-alone-in-the-dark-700: #38579f;
--color-alone-in-the-dark-800: #244077;
--color-alone-in-the-dark-900: #182c54;
--color-alone-in-the-dark-950: #091938;
}SCSS
$alone-in-the-dark: #010161;
$alone-in-the-dark-rgb: 1, 1, 97;
$alone-in-the-dark-light: mix(#fff, $alone-in-the-dark, 20%);
$alone-in-the-dark-dark: mix(#000, $alone-in-the-dark, 20%);
.element {
color: $alone-in-the-dark;
box-shadow: 0 0 0 2px rgba($alone-in-the-dark, 0.35);
}