最接近的命名颜色 · #217778
#217778
最接近的命名颜色: Prismarine
#217778(rgb(33 119 120)、hsl(181 57% 30%)、oklch(0.521 0.079 196.2))最接近命名颜色 Prismarine。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#217778
oklch(0.521 0.079 196.2)
颜色转换
- HEX
- #217778
- RGB
- rgb(33 119 120)
- HSL
- hsl(181 57% 30%)
- HWB
- hwb(181 13% 53%)
- OKLCH
- oklch(0.521 0.079 196.2)
- OKLab
- oklab(0.521 -0.075 -0.022)
- CIE Lab
- lab(45.22 -25.47 -8.3)
- LCH
- lch(45.22 26.79 198.1)
- CMYK
- cmyk(73% 1% 0% 53%)
浅色调 · 深色调 · 灰色调
浅色调
- 3D8485
- 559192
- 6B9E9F
- 80ACAC
- 95B9B9
- AAC7C7
- BFD5D5
- D4E3E3
- E9F1F1
深色调
- 1B6767
- 165757
- 104748
- 0B3839
- 062A2A
- 031C1D
- 011010
- 000505
- 000101
灰色调
- 307879
- 3D797A
- 477A7A
- 517B7B
- 597C7C
- 627D7D
- 6A7E7E
- 717F7E
- 797F7F
配色和谐
互补色 +180°
- 217778
Prismarine
- 915659
≈ Mesa Red
类似色 -30° +30°
- 217778
Prismarine
- 36785F
≈ Scouring Rush
- 2E728C
≈ Living Stream
三角配色 +120° +240°
- 217778
Prismarine
- 7B5B88
≈ Champion
- 836331
≈ Dirt Brown
分裂互补色 +150° +210°
- 217778
Prismarine
- 8A5673
≈ Indian Silk
- 8F5A41
≈ Spiced Cider
四角配色 +90° +180° +270°
- 217778
Prismarine
- 656294
≈ Prime Purple
- 915659
≈ Mesa Red
- 6F6C33
≈ Aged Mustard Green
对比度与无障碍
Ag
AA白底
WCAG 5.28:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.97:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.28:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--prismarine: #217778;
--prismarine-rgb: 33 119 120;
--prismarine-oklch: oklch(0.521 0.079 196.2);
}
.element {
color: var(--prismarine);
background-color: hsl(181 57% 30%);
border-color: oklch(0.521 0.079 196.2);
}Tailwind CSS v4
@theme {
--color-prismarine: #217778;
--color-prismarine-50: #dcfdfd;
--color-prismarine-100: #cbf1f1;
--color-prismarine-200: #aedfe0;
--color-prismarine-300: #87c4c6;
--color-prismarine-400: #62adae;
--color-prismarine-500: #399697;
--color-prismarine-600: #327f80;
--color-prismarine-700: #286666;
--color-prismarine-800: #1b4b4a;
--color-prismarine-900: #123434;
--color-prismarine-950: #041f1f;
}SCSS
$prismarine: #217778;
$prismarine-rgb: 33, 119, 120;
$prismarine-light: mix(#fff, $prismarine, 20%);
$prismarine-dark: mix(#000, $prismarine, 20%);
.element {
color: $prismarine;
box-shadow: 0 0 0 2px rgba($prismarine, 0.35);
}