最接近的命名颜色 · #4C708B
#4C708B
最接近的命名颜色: Shipyard
#4C708B(rgb(76 112 139)、hsl(206 29% 42%)、oklch(0.529 0.059 241.7))最接近命名颜色 Shipyard。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#4C708B
oklch(0.529 0.059 241.7)
颜色转换
- HEX
- #4c708b
- RGB
- rgb(76 112 139)
- HSL
- hsl(206 29% 42%)
- HWB
- hwb(206 30% 45%)
- OKLCH
- oklch(0.529 0.059 241.7)
- OKLab
- oklab(0.529 -0.028 -0.052)
- CIE Lab
- lab(45.34 -7.47 -19.17)
- LCH
- lch(45.34 20.57 248.7)
- CMYK
- cmyk(45% 19% 0% 45%)
浅色调 · 深色调 · 灰色调
浅色调
- 5D7D96
- 6E8BA2
- 7F99AD
- 91A7B8
- A3B5C4
- B5C4D0
- C7D2DB
- D9E1E7
- ECF0F3
深色调
- 416078
- 365166
- 2C4354
- 223543
- 182732
- 0F1A23
- 060E14
- 020407
- 000101
灰色调
- 52728A
- 577389
- 5C7588
- 627787
- 677886
- 6C7A85
- 717B84
- 767D83
- 7B7F81
配色和谐
互补色 +180°
- 4C708B
Shipyard
- 856448
≈ Sedona Brown
类似色 -30° +30°
- 4C708B
Shipyard
- 3F757F
≈ Flip
- 5F6A8E
≈ Justice
三角配色 +120° +240°
- 4C708B
Shipyard
- 895D69
≈ Cabernet
- 66714A
≈ Grass Blade
分裂互补色 +150° +210°
- 4C708B
Shipyard
- 8A5F56
≈ Bold Brick
- 786B43
≈ Fossilised Leaf
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 5.25:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.99:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--shipyard: #4c708b;
--shipyard-rgb: 76 112 139;
--shipyard-oklch: oklch(0.529 0.059 241.7);
}
.element {
color: var(--shipyard);
background-color: hsl(206 29% 42%);
border-color: oklch(0.529 0.059 241.7);
}Tailwind CSS v4
@theme {
--color-shipyard: #4c708b;
--color-shipyard-50: #e7f8ff;
--color-shipyard-100: #d8ebfb;
--color-shipyard-200: #c0d8ec;
--color-shipyard-300: #9ebbd4;
--color-shipyard-400: #80a3bf;
--color-shipyard-500: #628baa;
--color-shipyard-600: #547690;
--color-shipyard-700: #435e73;
--color-shipyard-800: #2f4555;
--color-shipyard-900: #20303b;
--color-shipyard-950: #0f1c25;
}SCSS
$shipyard: #4c708b;
$shipyard-rgb: 76, 112, 139;
$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);
}