最接近的命名颜色 · #297777
#297777
最接近的命名颜色: Prismarine
#297777(rgb(41 119 119)、hsl(180 49% 31%)、oklch(0.523 0.075 195.1))最接近命名颜色 Prismarine。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#297777
oklch(0.523 0.075 195.1)
颜色转换
- HEX
- #297777
- RGB
- rgb(41 119 119)
- HSL
- hsl(180 49% 31%)
- HWB
- hwb(180 16% 53%)
- OKLCH
- oklch(0.523 0.075 195.1)
- OKLab
- oklab(0.523 -0.072 -0.019)
- CIE Lab
- lab(45.41 -24.34 -7.41)
- LCH
- lch(45.41 25.44 196.9)
- CMYK
- cmyk(66% 0% 0% 53%)
浅色调 · 深色调 · 灰色调
浅色调
- 428484
- 599191
- 6E9E9E
- 82ACAB
- 97B9B9
- ABC7C6
- C0D5D4
- D5E3E2
- EAF1F1
深色调
- 226767
- 1C5757
- 154747
- 0F3838
- 092A2A
- 051C1C
- 021010
- 010505
- 000101
灰色调
- 367878
- 417979
- 4A7A7A
- 537B7B
- 5B7C7C
- 637D7C
- 6B7E7D
- 727F7E
- 797F7F
配色和谐
互补色 +180°
- 297777
Prismarine
- 90575C
≈ Mesa Red
类似色 -30° +30°
- 297777
Prismarine
- 3B775F
≈ Scouring Rush
- 33738A
≈ Bengal Blue
三角配色 +120° +240°
- 297777
Prismarine
- 7A5C87
≈ Champion
- 836336
≈ Dirt Brown
分裂互补色 +150° +210°
- 297777
Prismarine
- 895873
≈ Indian Silk
- 8E5C45
≈ Artisan
四角配色 +90° +180° +270°
- 297777
Prismarine
- 656393
≈ Prime Purple
- 90575C
≈ Mesa Red
- 706C37
≈ Tuscan Hills
对比度与无障碍
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 {
--prismarine: #297777;
--prismarine-rgb: 41 119 119;
--prismarine-oklch: oklch(0.523 0.075 195.1);
}
.element {
color: var(--prismarine);
background-color: hsl(180 49% 31%);
border-color: oklch(0.523 0.075 195.1);
}Tailwind CSS v4
@theme {
--color-prismarine: #297777;
--color-prismarine-50: #defcfc;
--color-prismarine-100: #ccf0f0;
--color-prismarine-200: #b0dfdf;
--color-prismarine-300: #8ac4c4;
--color-prismarine-400: #67adac;
--color-prismarine-500: #409695;
--color-prismarine-600: #377f7e;
--color-prismarine-700: #2c6565;
--color-prismarine-800: #1f4b49;
--color-prismarine-900: #143433;
--color-prismarine-950: #051f1f;
}SCSS
$prismarine: #297777;
$prismarine-rgb: 41, 119, 119;
$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);
}