最接近的命名颜色 · #4B7089
#4B7089
最接近的命名颜色: Shipyard
#4B7089(rgb(75 112 137)、hsl(204 29% 42%)、oklch(0.527 0.058 238.9))最接近命名颜色 Shipyard。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#4B7089
oklch(0.527 0.058 238.9)
颜色转换
- HEX
- #4b7089
- RGB
- rgb(75 112 137)
- HSL
- hsl(204 29% 42%)
- HWB
- hwb(204 29% 46%)
- OKLCH
- oklch(0.527 0.058 238.9)
- OKLab
- oklab(0.527 -0.03 -0.049)
- CIE Lab
- lab(45.22 -8.23 -18.18)
- LCH
- lch(45.22 19.95 245.6)
- CMYK
- cmyk(45% 18% 0% 46%)
浅色调 · 深色调 · 灰色调
浅色调
- 5C7D94
- 6D8BA0
- 7F99AB
- 90A7B7
- A2B5C3
- B4C4CF
- C7D2DB
- D9E1E7
- ECF0F3
深色调
- 406076
- 355164
- 2B4353
- 213542
- 172731
- 0E1A22
- 060E14
- 020407
- 000101
灰色调
- 517288
- 567387
- 5C7587
- 617786
- 667885
- 6C7A84
- 717B83
- 767D82
- 7B7F81
配色和谐
互补色 +180°
- 4B7089
Shipyard
- 846349
≈ Burnt Terra
类似色 -30° +30°
- 4B7089
Shipyard
- 40747D
≈ Flip
- 5D6A8D
≈ Emerald-Crested Manakin
三角配色 +120° +240°
- 4B7089
Shipyard
- 875D6A
≈ Rose Garland
- 67704A
≈ Grass Blade
分裂互补色 +150° +210°
- 4B7089
Shipyard
- 895F58
≈ Raspberry Truffle
- 796A43
≈ Lizard
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 5.27:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.97:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.27:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--shipyard: #4b7089;
--shipyard-rgb: 75 112 137;
--shipyard-oklch: oklch(0.527 0.058 238.9);
}
.element {
color: var(--shipyard);
background-color: hsl(204 29% 42%);
border-color: oklch(0.527 0.058 238.9);
}Tailwind CSS v4
@theme {
--color-shipyard: #4b7089;
--color-shipyard-50: #e7f8ff;
--color-shipyard-100: #d8ebfa;
--color-shipyard-200: #bfd8eb;
--color-shipyard-300: #9ebcd3;
--color-shipyard-400: #7fa4bd;
--color-shipyard-500: #628ca9;
--color-shipyard-600: #53768e;
--color-shipyard-700: #425f72;
--color-shipyard-800: #2f4654;
--color-shipyard-900: #20303b;
--color-shipyard-950: #0f1c25;
}SCSS
$shipyard: #4b7089;
$shipyard-rgb: 75, 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);
}