最接近的命名颜色 · #03025F
#03025F
最接近的命名颜色: Alone in the Dark
#03025F(rgb(3 2 95)、hsl(241 96% 19%)、oklch(0.224 0.149 265.8))最接近命名颜色 Alone in the Dark。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#03025F
oklch(0.224 0.149 265.8)
颜色转换
- HEX
- #03025f
- RGB
- rgb(3 2 95)
- HSL
- hsl(241 96% 19%)
- HWB
- hwb(241 1% 63%)
- OKLCH
- oklch(0.224 0.149 265.8)
- OKLab
- oklab(0.224 -0.011 -0.149)
- CIE Lab
- lab(6.84 31.68 -53.18)
- LCH
- lch(6.84 61.9 300.8)
- CMYK
- cmyk(97% 98% 0% 63%)
浅色调 · 深色调 · 灰色调
浅色调
- 0E2470
- 233C81
- 3B5491
- 546BA1
- 6F83B1
- 8A9BC1
- A6B3D1
- C3CCE0
- E1E5F0
深色调
- 020152
- 020144
- 010138
- 01002C
- 000020
- 000015
- 00000A
- 000003
- 000000
灰色调
- 061764
- 112668
- 1D326C
- 2A3E70
- 374973
- 455477
- 545F7A
- 626A7C
- 71757E
配色和谐
互补色 +180°
- 03025F
Alone in the Dark
- 251900
≈ Cannon Black
类似色 -30° +30°
- 03025F
Alone in the Dark
- 001E2F
≈ Cyanophobia
- 23004C
≈ Your Darkness
三角配色 +120° +240°
- 03025F
Alone in the Dark
- 3C0003
≈ Dark Maroon
- 002305
≈ Rainforest Nights
分裂互补色 +150° +210°
- 03025F
Alone in the Dark
- 2E1300
≈ Shadow Play
- 1B1E00
≈ Liquorice Root
四角配色 +90° +180° +270°
- 03025F
Alone in the Dark
- 39001D
≈ Rhodophobia
- 251900
≈ Cannon Black
- 00221B
≈ 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: #03025f;
--alone-in-the-dark-rgb: 3 2 95;
--alone-in-the-dark-oklch: oklch(0.224 0.149 265.8);
}
.element {
color: var(--alone-in-the-dark);
background-color: hsl(241 96% 19%);
border-color: oklch(0.224 0.149 265.8);
}Tailwind CSS v4
@theme {
--color-alone-in-the-dark: #03025f;
--color-alone-in-the-dark-50: #e3f5ff;
--color-alone-in-the-dark-100: #d2e7ff;
--color-alone-in-the-dark-200: #b9d3ff;
--color-alone-in-the-dark-300: #96b4ff;
--color-alone-in-the-dark-400: #749bf6;
--color-alone-in-the-dark-500: #577fe8;
--color-alone-in-the-dark-600: #4a6cc3;
--color-alone-in-the-dark-700: #3b579d;
--color-alone-in-the-dark-800: #274075;
--color-alone-in-the-dark-900: #1a2c53;
--color-alone-in-the-dark-950: #0b1938;
}SCSS
$alone-in-the-dark: #03025f;
$alone-in-the-dark-rgb: 3, 2, 95;
$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);
}