最接近的命名颜色 · #517085
#517085
最接近的命名颜色: Shipyard
#517085(rgb(81 112 133)、hsl(204 24% 42%)、oklch(0.529 0.049 238.5))最接近命名颜色 Shipyard。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#517085
oklch(0.529 0.049 238.5)
颜色转换
- HEX
- #517085
- RGB
- rgb(81 112 133)
- HSL
- hsl(204 24% 42%)
- HWB
- hwb(204 32% 48%)
- OKLCH
- oklch(0.529 0.049 238.5)
- OKLab
- oklab(0.529 -0.026 -0.042)
- CIE Lab
- lab(45.45 -7.3 -15.41)
- LCH
- lch(45.45 17.05 244.7)
- CMYK
- cmyk(39% 16% 0% 48%)
浅色调 · 深色调 · 灰色调
浅色调
- 617D91
- 728B9D
- 8399A8
- 94A7B4
- A5B5C1
- B6C4CD
- C8D2D9
- DAE1E6
- EDF0F2
深色调
- 456073
- 3A5161
- 2F4350
- 243540
- 1A2730
- 101A21
- 070E13
- 020406
- 000101
灰色调
- 567285
- 5B7384
- 607584
- 647783
- 697883
- 6E7A82
- 727B82
- 777D81
- 7B7E81
配色和谐
互补色 +180°
- 517085
Shipyard
- 81654F
≈ Burnt Terra
类似色 -30° +30°
- 517085
Shipyard
- 49747B
≈ Vining Ivy
- 606B89
≈ Dangerously Elegant
三角配色 +120° +240°
- 517085
Shipyard
- 84606B
≈ Celine
- 697050
≈ Toy Tank Green
分裂互补色 +150° +210°
- 517085
Shipyard
- 86615C
≈ Smoked Almond
- 776A4B
≈ Amazon Green
四角配色 +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: #517085;
--shipyard-rgb: 81 112 133;
--shipyard-oklch: oklch(0.529 0.049 238.5);
}
.element {
color: var(--shipyard);
background-color: hsl(204 24% 42%);
border-color: oklch(0.529 0.049 238.5);
}Tailwind CSS v4
@theme {
--color-shipyard: #517085;
--color-shipyard-50: #e9f7ff;
--color-shipyard-100: #daeaf7;
--color-shipyard-200: #c2d8e8;
--color-shipyard-300: #a2bbce;
--color-shipyard-400: #84a3b8;
--color-shipyard-500: #688ba3;
--color-shipyard-600: #58768a;
--color-shipyard-700: #465e6f;
--color-shipyard-800: #324551;
--color-shipyard-900: #223039;
--color-shipyard-950: #111c23;
}SCSS
$shipyard: #517085;
$shipyard-rgb: 81, 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);
}