最接近的命名颜色 · #296A5D
#296A5D
最接近的命名颜色: Terrestrial
#296A5D(rgb(41 106 93)、hsl(168 44% 29%)、oklch(0.479 0.069 177.8))最接近命名颜色 Terrestrial。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#296A5D
oklch(0.479 0.069 177.8)
颜色转换
- HEX
- #296a5d
- RGB
- rgb(41 106 93)
- HSL
- hsl(168 44% 29%)
- HWB
- hwb(168 16% 58%)
- OKLCH
- oklch(0.479 0.069 177.8)
- OKLab
- oklab(0.479 -0.069 0.003)
- CIE Lab
- lab(40.39 -24.24 0.8)
- LCH
- lch(40.39 24.25 178.1)
- CMYK
- cmyk(61% 0% 12% 58%)
浅色调 · 深色调 · 灰色调
浅色调
- 40786C
- 56867B
- 6B958A
- 7FA39A
- 94B2AA
- A9C1BB
- BED0CB
- D4E0DC
- E9EFEE
深色调
- 225B50
- 1C4D43
- 153F37
- 0F312A
- 09241F
- 051814
- 020D0A
- 010403
- 000000
灰色调
- 356C60
- 3F6F64
- 487167
- 51736B
- 59756E
- 617872
- 697A75
- 717C79
- 787E7C
配色和谐
互补色 +180°
- 296A5D
Terrestrial
- 7D4C5D
≈ Frenzied Red
类似色 -30° +30°
- 296A5D
Terrestrial
- 416847
≈ Nordic Pine
- 226872
≈ Persian Mosaic
三角配色 +120° +240°
- 296A5D
Terrestrial
- 625580
≈ Purple Sky
- 7B5334
≈ Pheasant Brown
分裂互补色 +150° +210°
- 296A5D
Terrestrial
- 734F71
≈ Gladiola Violet
- 804E47
≈ Revival of the Red
四角配色 +90° +180° +270°
- 296A5D
Terrestrial
- 4C5C85
≈ Indigo Navy Blue
- 7D4C5D
≈ Frenzied Red
- 6E5B2C
≈ Olivary
对比度与无障碍
Ag
AA白底
WCAG 6.33:1 · APCA Lc 81
Ag
Fail黑底
WCAG 3.31:1 · APCA Lc 21
最佳文字颜色: #FFFFFF
WCAG 6.33:1 (AA) · APCA Lc 81
Contrast pairs
代码片段
CSS
:root {
--terrestrial: #296a5d;
--terrestrial-rgb: 41 106 93;
--terrestrial-oklch: oklch(0.479 0.069 177.8);
}
.element {
color: var(--terrestrial);
background-color: hsl(168 44% 29%);
border-color: oklch(0.479 0.069 177.8);
}Tailwind CSS v4
@theme {
--color-terrestrial: #296a5d;
--color-terrestrial-50: #e1fcf6;
--color-terrestrial-100: #d0f0e9;
--color-terrestrial-200: #b5dfd5;
--color-terrestrial-300: #91c4b8;
--color-terrestrial-400: #70ac9e;
--color-terrestrial-500: #4e9586;
--color-terrestrial-600: #437e71;
--color-terrestrial-700: #35655b;
--color-terrestrial-800: #264a41;
--color-terrestrial-900: #19342d;
--color-terrestrial-950: #0a1f1a;
}SCSS
$terrestrial: #296a5d;
$terrestrial-rgb: 41, 106, 93;
$terrestrial-light: mix(#fff, $terrestrial, 20%);
$terrestrial-dark: mix(#000, $terrestrial, 20%);
.element {
color: $terrestrial;
box-shadow: 0 0 0 2px rgba($terrestrial, 0.35);
}