最接近的命名颜色 · #273B4C
#273B4C
最接近的命名颜色: Depths of the Nile
#273B4C(rgb(39 59 76)、hsl(208 32% 23%)、oklch(0.343 0.039 245))最接近命名颜色 Depths of the Nile。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#273B4C
oklch(0.343 0.039 245)
颜色转换
- HEX
- #273b4c
- RGB
- rgb(39 59 76)
- HSL
- hsl(208 32% 23%)
- HWB
- hwb(208 15% 70%)
- OKLCH
- oklch(0.343 0.039 245)
- OKLab
- oklab(0.343 -0.017 -0.036)
- CIE Lab
- lab(23.75 -4.19 -13.11)
- LCH
- lch(23.75 13.76 252.3)
- CMYK
- cmyk(49% 22% 0% 70%)
浅色调 · 深色调 · 灰色调
浅色调
- 3A4C5C
- 4D5E6D
- 62717E
- 778490
- 8C97A1
- A2ABB3
- B9C0C6
- D0D4D9
- E7EAEC
深色调
- 203241
- 1A2936
- 14212C
- 0E1922
- 081118
- 04090F
- 020406
- 010102
- 000000
灰色调
- 304251
- 384856
- 414F5B
- 495661
- 525D66
- 5B646B
- 646B70
- 6D7275
- 77797B
配色和谐
互补色 +180°
- 273B4C
Depths of the Nile
- 473523
≈ Clinker
类似色 -30° +30°
- 273B4C
Depths of the Nile
- 1F3E46
≈ Sunken Harbour
- 33374D
≈ German Liquorice
三角配色 +120° +240°
- 273B4C
Depths of the Nile
- 4A3036
≈ Cab Sav
- 343C26
≈ Green Kelp
分裂互补色 +150° +210°
- 273B4C
Depths of the Nile
- 4B312B
≈ Rojo Marrón
- 3F3920
≈ Lisbon Brown
四角配色 +90° +180° +270°
- 273B4C
Depths of the Nile
- 463141
≈ Voodoo
- 473523
≈ Clinker
- 283F30
≈ English Holly
对比度与无障碍
Ag
AAA白底
WCAG 11.56:1 · APCA Lc 97
Ag
Fail黑底
WCAG 1.81:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 11.56:1 (AAA) · APCA Lc 97
Contrast pairs
代码片段
CSS
:root {
--depths-of-the-nile: #273b4c;
--depths-of-the-nile-rgb: 39 59 76;
--depths-of-the-nile-oklch: oklch(0.343 0.039 245);
}
.element {
color: var(--depths-of-the-nile);
background-color: hsl(208 32% 23%);
border-color: oklch(0.343 0.039 245);
}Tailwind CSS v4
@theme {
--color-depths-of-the-nile: #273b4c;
--color-depths-of-the-nile-50: #edf7ff;
--color-depths-of-the-nile-100: #dee9f5;
--color-depths-of-the-nile-200: #c7d6e5;
--color-depths-of-the-nile-300: #a8bacb;
--color-depths-of-the-nile-400: #8ca1b5;
--color-depths-of-the-nile-500: #71899f;
--color-depths-of-the-nile-600: #607486;
--color-depths-of-the-nile-700: #4c5d6c;
--color-depths-of-the-nile-800: #37444f;
--color-depths-of-the-nile-900: #252f37;
--color-depths-of-the-nile-950: #141c22;
}SCSS
$depths-of-the-nile: #273b4c;
$depths-of-the-nile-rgb: 39, 59, 76;
$depths-of-the-nile-light: mix(#fff, $depths-of-the-nile, 20%);
$depths-of-the-nile-dark: mix(#000, $depths-of-the-nile, 20%);
.element {
color: $depths-of-the-nile;
box-shadow: 0 0 0 2px rgba($depths-of-the-nile, 0.35);
}