最接近的命名颜色 · #2C7393
#2C7393
最接近的命名颜色: Chill of the Night
#2C7393(rgb(44 115 147)、hsl(199 54% 37%)、oklch(0.525 0.086 231.2))最接近命名颜色 Chill of the Night。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2C7393
oklch(0.525 0.086 231.2)
颜色转换
- HEX
- #2c7393
- RGB
- rgb(44 115 147)
- HSL
- hsl(199 54% 37%)
- HWB
- hwb(199 17% 42%)
- OKLCH
- oklch(0.525 0.086 231.2)
- OKLab
- oklab(0.525 -0.054 -0.067)
- CIE Lab
- lab(45.11 -14.63 -24.4)
- LCH
- lch(45.11 28.45 239)
- CMYK
- cmyk(70% 22% 0% 42%)
浅色调 · 深色调 · 灰色调
浅色调
- 44809E
- 5A8EA8
- 6E9CB3
- 83AABE
- 97B7C9
- ACC6D3
- C0D4DE
- D5E2E9
- EAF0F4
深色调
- 25637F
- 1E546C
- 174559
- 113647
- 0A2836
- 051B25
- 020F16
- 010508
- 000101
灰色调
- 387591
- 427690
- 4B788E
- 54798C
- 5C7A8A
- 637B88
- 6B7D86
- 727E84
- 797F82
配色和谐
互补色 +180°
- 2C7393
Chill of the Night
- 925B3A
≈ Spiced Cider
类似色 -30° +30°
- 2C7393
Chill of the Night
- 10797F
≈ Aqua Nation
- 4E6A9C
≈ San Marino
三角配色 +120° +240°
- 2C7393
Chill of the Night
- 905570
≈ Grandeur Plum
- 6C6F30
≈ Aged Mustard Green
分裂互补色 +150° +210°
- 2C7393
Chill of the Night
- 965555
≈ Brown Cerberus
- 84652A
≈ Hunting Jacket
四角配色 +90° +180° +270°
- 2C7393
Chill of the Night
- 815988
≈ Purple Mystery
- 925B3A
≈ Spiced Cider
- 4E7747
≈ Spring Juniper
对比度与无障碍
Ag
AA白底
WCAG 5.27:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.98:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.27:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--chill-of-the-night: #2c7393;
--chill-of-the-night-rgb: 44 115 147;
--chill-of-the-night-oklch: oklch(0.525 0.086 231.2);
}
.element {
color: var(--chill-of-the-night);
background-color: hsl(199 54% 37%);
border-color: oklch(0.525 0.086 231.2);
}Tailwind CSS v4
@theme {
--color-chill-of-the-night: #2c7393;
--color-chill-of-the-night-50: #defaff;
--color-chill-of-the-night-100: #cdeeff;
--color-chill-of-the-night-200: #b1dbf4;
--color-chill-of-the-night-300: #8bc0dd;
--color-chill-of-the-night-400: #67a8c8;
--color-chill-of-the-night-500: #4290b5;
--color-chill-of-the-night-600: #397a99;
--color-chill-of-the-night-700: #2d627a;
--color-chill-of-the-night-800: #1e485a;
--color-chill-of-the-night-900: #14323f;
--color-chill-of-the-night-950: #051e28;
}SCSS
$chill-of-the-night: #2c7393;
$chill-of-the-night-rgb: 44, 115, 147;
$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);
}