最接近的命名颜色 · #4F7085
#4F7085
最接近的命名颜色: Shipyard
#4F7085(rgb(79 112 133)、hsl(203 25% 42%)、oklch(0.528 0.05 236.9))最接近命名颜色 Shipyard。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#4F7085
oklch(0.528 0.05 236.9)
颜色转换
- HEX
- #4f7085
- RGB
- rgb(79 112 133)
- HSL
- hsl(203 25% 42%)
- HWB
- hwb(203 31% 48%)
- OKLCH
- oklch(0.528 0.05 236.9)
- OKLab
- oklab(0.528 -0.028 -0.042)
- CIE Lab
- lab(45.33 -7.92 -15.61)
- LCH
- lch(45.33 17.51 243.1)
- CMYK
- cmyk(41% 16% 0% 48%)
浅色调 · 深色调 · 灰色调
浅色调
- 607D91
- 708B9D
- 8199A8
- 93A7B4
- A4B5C1
- B6C4CD
- C8D2D9
- DAE1E6
- ECF0F2
深色调
- 446073
- 385161
- 2E4350
- 233540
- 192730
- 101A21
- 070E13
- 020406
- 000101
灰色调
- 547285
- 597384
- 5E7584
- 637783
- 687883
- 6D7A82
- 727B82
- 777D81
- 7B7E81
配色和谐
互补色 +180°
- 4F7085
Shipyard
- 82644F
≈ Burnt Terra
类似色 -30° +30°
- 4F7085
Shipyard
- 47747A
≈ Vining Ivy
- 5E6B89
≈ Grape Haze
三角配色 +120° +240°
- 4F7085
Shipyard
- 845F6C
≈ Celine
- 696F4E
≈ Global Green
分裂互补色 +150° +210°
- 4F7085
Shipyard
- 86605C
≈ Smoked Almond
- 786A49
≈ Amazon Green
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 5.26:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.98:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--shipyard: #4f7085;
--shipyard-rgb: 79 112 133;
--shipyard-oklch: oklch(0.528 0.05 236.9);
}
.element {
color: var(--shipyard);
background-color: hsl(203 25% 42%);
border-color: oklch(0.528 0.05 236.9);
}Tailwind CSS v4
@theme {
--color-shipyard: #4f7085;
--color-shipyard-50: #e9f8ff;
--color-shipyard-100: #d9ebf7;
--color-shipyard-200: #c1d8e8;
--color-shipyard-300: #a1bccf;
--color-shipyard-400: #83a4b9;
--color-shipyard-500: #668ca4;
--color-shipyard-600: #57768a;
--color-shipyard-700: #455f6f;
--color-shipyard-800: #314551;
--color-shipyard-900: #213039;
--color-shipyard-950: #111c23;
}SCSS
$shipyard: #4f7085;
$shipyard-rgb: 79, 112, 133;
$shipyard-light: mix(#fff, $shipyard, 20%);
$shipyard-dark: mix(#000, $shipyard, 20%);
.element {
color: $shipyard;
box-shadow: 0 0 0 2px rgba($shipyard, 0.35);
}