最接近的命名颜色 · #151432
#151432
最接近的命名颜色: Mysterious Depths
#151432(rgb(21 20 50)、hsl(242 43% 14%)、oklch(0.211 0.058 281.8))最接近命名颜色 Mysterious Depths。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#151432
oklch(0.211 0.058 281.8)
颜色转换
- HEX
- #151432
- RGB
- rgb(21 20 50)
- HSL
- hsl(242 43% 14%)
- HWB
- hwb(242 8% 80%)
- OKLCH
- oklch(0.211 0.058 281.8)
- OKLab
- oklab(0.211 0.012 -0.056)
- CIE Lab
- lab(7.78 8.41 -20.12)
- LCH
- lch(7.78 21.81 292.7)
- CMYK
- cmyk(58% 60% 0% 80%)
浅色调 · 深色调 · 灰色调
浅色调
- 272845
- 3B3D57
- 51526B
- 67697F
- 7F8093
- 9798A8
- B0B1BD
- CACAD3
- E4E4E9
深色调
- 11102A
- 0C0C22
- 08081B
- 050514
- 03030D
- 020107
- 010103
- 000001
- 000000
灰色调
- 1E1E3A
- 272841
- 313249
- 3C3D51
- 464859
- 515261
- 5D5E68
- 686970
- 747478
配色和谐
互补色 +180°
- 151432
Mysterious Depths
- 1D1900
≈ Noir Mystique
类似色 -30° +30°
- 151432
Mysterious Depths
- 021932
≈ Oxford by Night
- 210F2C
≈ Blacklist
三角配色 +120° +240°
- 151432
Mysterious Depths
- 2D0D02
≈ Root Brew
- 001F12
≈ Clock Chimes Thirteen
分裂互补色 +150° +210°
- 151432
Mysterious Depths
- 251500
≈ Cannon Black
- 0E1E00
≈ Yuzu Soy
四角配色 +90° +180° +270°
- 151432
Mysterious Depths
- 2E0B12
≈ Dark Danger
- 1D1900
≈ Noir Mystique
- 001E1D
≈ Stellar Explorer
对比度与无障碍
Ag
AAA白底
WCAG 17.82:1 · APCA Lc 105
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.82:1 (AAA) · APCA Lc 105
Contrast pairs
代码片段
CSS
:root {
--mysterious-depths: #151432;
--mysterious-depths-rgb: 21 20 50;
--mysterious-depths-oklch: oklch(0.211 0.058 281.8);
}
.element {
color: var(--mysterious-depths);
background-color: hsl(242 43% 14%);
border-color: oklch(0.211 0.058 281.8);
}Tailwind CSS v4
@theme {
--color-mysterious-depths: #151432;
--color-mysterious-depths-50: #f3f3ff;
--color-mysterious-depths-100: #e5e6fb;
--color-mysterious-depths-200: #d0d2ed;
--color-mysterious-depths-300: #b3b4d5;
--color-mysterious-depths-400: #989bc0;
--color-mysterious-depths-500: #7f82ac;
--color-mysterious-depths-600: #6c6e91;
--color-mysterious-depths-700: #565874;
--color-mysterious-depths-800: #3e4056;
--color-mysterious-depths-900: #2b2c3c;
--color-mysterious-depths-950: #181926;
}SCSS
$mysterious-depths: #151432;
$mysterious-depths-rgb: 21, 20, 50;
$mysterious-depths-light: mix(#fff, $mysterious-depths, 20%);
$mysterious-depths-dark: mix(#000, $mysterious-depths, 20%);
.element {
color: $mysterious-depths;
box-shadow: 0 0 0 2px rgba($mysterious-depths, 0.35);
}