最接近的命名颜色 · #4D708B
#4D708B
最接近的命名颜色: Shipyard
#4D708B(rgb(77 112 139)、hsl(206 29% 42%)、oklch(0.53 0.059 242.4))最接近命名颜色 Shipyard。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#4D708B
oklch(0.53 0.059 242.4)
颜色转换
- HEX
- #4d708b
- RGB
- rgb(77 112 139)
- HSL
- hsl(206 29% 42%)
- HWB
- hwb(206 30% 45%)
- OKLCH
- oklch(0.53 0.059 242.4)
- OKLab
- oklab(0.53 -0.027 -0.052)
- CIE Lab
- lab(45.4 -7.17 -19.07)
- LCH
- lch(45.4 20.37 249.4)
- CMYK
- cmyk(45% 19% 0% 45%)
浅色调 · 深色调 · 灰色调
浅色调
- 5E7D96
- 6F8BA2
- 8099AD
- 91A7B8
- A3B5C4
- B5C4D0
- C7D2DB
- DAE1E7
- ECF0F3
深色调
- 426078
- 375166
- 2C4354
- 223543
- 182732
- 0F1A23
- 070E14
- 020407
- 000101
灰色调
- 52728A
- 587389
- 5D7588
- 627787
- 677886
- 6C7A85
- 717B84
- 767D83
- 7B7F81
配色和谐
互补色 +180°
- 4D708B
Shipyard
- 846448
≈ Port Wine Barrel
类似色 -30° +30°
- 4D708B
Shipyard
- 407580
≈ Flip
- 606A8E
≈ Justice
三角配色 +120° +240°
- 4D708B
Shipyard
- 895D69
≈ Cabernet
- 66714B
≈ Greenfield
分裂互补色 +150° +210°
- 4D708B
Shipyard
- 8A5F56
≈ Bold Brick
- 786B43
≈ Fossilised Leaf
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 5.24:1 · APCA Lc 76
Ag
Fail黑底
WCAG 4.00:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.24:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--shipyard: #4d708b;
--shipyard-rgb: 77 112 139;
--shipyard-oklch: oklch(0.53 0.059 242.4);
}
.element {
color: var(--shipyard);
background-color: hsl(206 29% 42%);
border-color: oklch(0.53 0.059 242.4);
}Tailwind CSS v4
@theme {
--color-shipyard: #4d708b;
--color-shipyard-50: #e8f7ff;
--color-shipyard-100: #d8ebfb;
--color-shipyard-200: #c0d8ec;
--color-shipyard-300: #9fbbd4;
--color-shipyard-400: #80a3bf;
--color-shipyard-500: #638baa;
--color-shipyard-600: #557690;
--color-shipyard-700: #435e73;
--color-shipyard-800: #304555;
--color-shipyard-900: #20303b;
--color-shipyard-950: #101c25;
}SCSS
$shipyard: #4d708b;
$shipyard-rgb: 77, 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);
}