最接近的命名颜色 · #4C7089
#4C7089
最接近的命名颜色: Shipyard
#4C7089(rgb(76 112 137)、hsl(205 29% 42%)、oklch(0.528 0.057 239.5))最接近命名颜色 Shipyard。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#4C7089
oklch(0.528 0.057 239.5)
颜色转换
- HEX
- #4c7089
- RGB
- rgb(76 112 137)
- HSL
- hsl(205 29% 42%)
- HWB
- hwb(205 30% 46%)
- OKLCH
- oklch(0.528 0.057 239.5)
- OKLab
- oklab(0.528 -0.029 -0.049)
- CIE Lab
- lab(45.28 -7.93 -18.08)
- LCH
- lch(45.28 19.75 246.3)
- CMYK
- cmyk(45% 18% 0% 46%)
浅色调 · 深色调 · 灰色调
浅色调
- 5D7D94
- 6E8BA0
- 7F99AB
- 91A7B7
- A3B5C3
- B5C4CF
- C7D2DB
- D9E1E7
- ECF0F3
深色调
- 416076
- 365164
- 2C4353
- 223542
- 182731
- 0F1A22
- 060E14
- 020407
- 000101
灰色调
- 527288
- 577387
- 5C7587
- 627786
- 677885
- 6C7A84
- 717B83
- 767D82
- 7B7F81
配色和谐
互补色 +180°
- 4C7089
Shipyard
- 84644A
≈ Burnt Terra
类似色 -30° +30°
- 4C7089
Shipyard
- 41747D
≈ Flip
- 5E6A8D
≈ Emerald-Crested Manakin
三角配色 +120° +240°
- 4C7089
Shipyard
- 875E6A
≈ Glazed Ringlet
- 67704A
≈ Grass Blade
分裂互补色 +150° +210°
- 4C7089
Shipyard
- 895F58
≈ Raspberry Truffle
- 786A44
≈ Lizard
四角配色 +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: #4c7089;
--shipyard-rgb: 76 112 137;
--shipyard-oklch: oklch(0.528 0.057 239.5);
}
.element {
color: var(--shipyard);
background-color: hsl(205 29% 42%);
border-color: oklch(0.528 0.057 239.5);
}Tailwind CSS v4
@theme {
--color-shipyard: #4c7089;
--color-shipyard-50: #e8f8ff;
--color-shipyard-100: #d8ebfa;
--color-shipyard-200: #c0d8eb;
--color-shipyard-300: #9ebcd2;
--color-shipyard-400: #80a4bd;
--color-shipyard-500: #638ca8;
--color-shipyard-600: #54768e;
--color-shipyard-700: #435f72;
--color-shipyard-800: #2f4554;
--color-shipyard-900: #20303a;
--color-shipyard-950: #0f1c25;
}SCSS
$shipyard: #4c7089;
$shipyard-rgb: 76, 112, 137;
$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);
}