最接近的命名颜色 · #297396
#297396
最接近的命名颜色: Chill of the Night
#297396(rgb(41 115 150)、hsl(199 57% 37%)、oklch(0.526 0.09 232.9))最接近命名颜色 Chill of the Night。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#297396
oklch(0.526 0.09 232.9)
颜色转换
- HEX
- #297396
- RGB
- rgb(41 115 150)
- HSL
- hsl(199 57% 37%)
- HWB
- hwb(199 16% 41%)
- OKLCH
- oklch(0.526 0.09 232.9)
- OKLab
- oklab(0.526 -0.054 -0.072)
- CIE Lab
- lab(45.13 -14.31 -26.15)
- LCH
- lch(45.13 29.81 241.3)
- CMYK
- cmyk(73% 23% 0% 41%)
浅色调 · 深色调 · 灰色调
浅色调
- 4281A0
- 588EAB
- 6D9CB5
- 82AAC0
- 96B8CA
- ABC6D5
- C0D4DF
- D5E2EA
- EAF0F4
深色调
- 226382
- 1C546E
- 15455B
- 0F3649
- 092837
- 051B26
- 020F16
- 010508
- 000101
灰色调
- 367594
- 407692
- 4A7890
- 53798E
- 5B7A8C
- 637C8A
- 6A7D87
- 727E85
- 797F82
配色和谐
互补色 +180°
- 297396
Chill of the Night
- 935B36
≈ Carrageen Moss
类似色 -30° +30°
- 297396
Chill of the Night
- 007981
≈ Aqua Nation
- 4E6A9F
≈ San Marino
三角配色 +120° +240°
- 297396
Chill of the Night
- 92546F
≈ Grandeur Plum
- 6B702D
≈ Aged Mustard Green
分裂互补色 +150° +210°
- 297396
Chill of the Night
- 985452
≈ Brown Cerberus
- 846525
≈ Hunting Jacket
四角配色 +90° +180° +270°
- 297396
Chill of the Night
- 835889
≈ Purple Mystery
- 935B36
≈ Carrageen Moss
- 4A7847
≈ Autumn Crocodile
对比度与无障碍
Ag
AA白底
WCAG 5.26:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.98:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--chill-of-the-night: #297396;
--chill-of-the-night-rgb: 41 115 150;
--chill-of-the-night-oklch: oklch(0.526 0.09 232.9);
}
.element {
color: var(--chill-of-the-night);
background-color: hsl(199 57% 37%);
border-color: oklch(0.526 0.09 232.9);
}Tailwind CSS v4
@theme {
--color-chill-of-the-night: #297396;
--color-chill-of-the-night-50: #ddfaff;
--color-chill-of-the-night-100: #cceeff;
--color-chill-of-the-night-200: #b0dbf6;
--color-chill-of-the-night-300: #8abfdf;
--color-chill-of-the-night-400: #65a8cb;
--color-chill-of-the-night-500: #3e90b8;
--color-chill-of-the-night-600: #367a9b;
--color-chill-of-the-night-700: #2b627d;
--color-chill-of-the-night-800: #1c485c;
--color-chill-of-the-night-900: #123240;
--color-chill-of-the-night-950: #041e29;
}SCSS
$chill-of-the-night: #297396;
$chill-of-the-night-rgb: 41, 115, 150;
$chill-of-the-night-light: mix(#fff, $chill-of-the-night, 20%);
$chill-of-the-night-dark: mix(#000, $chill-of-the-night, 20%);
.element {
color: $chill-of-the-night;
box-shadow: 0 0 0 2px rgba($chill-of-the-night, 0.35);
}