最接近的命名颜色 · #2B7393
#2B7393
最接近的命名颜色: Chill of the Night
#2B7393(rgb(43 115 147)、hsl(198 55% 37%)、oklch(0.525 0.086 230.9))最接近命名颜色 Chill of the Night。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2B7393
oklch(0.525 0.086 230.9)
颜色转换
- HEX
- #2b7393
- RGB
- rgb(43 115 147)
- HSL
- hsl(198 55% 37%)
- HWB
- hwb(198 17% 42%)
- OKLCH
- oklch(0.525 0.086 230.9)
- OKLab
- oklab(0.525 -0.054 -0.067)
- CIE Lab
- lab(45.08 -14.81 -24.45)
- LCH
- lch(45.08 28.59 238.8)
- CMYK
- cmyk(71% 22% 0% 42%)
浅色调 · 深色调 · 灰色调
浅色调
- 43809E
- 598EA8
- 6E9CB3
- 82AABE
- 97B7C9
- ABC6D3
- C0D4DE
- D5E2E9
- EAF0F4
深色调
- 24637F
- 1D546C
- 164559
- 103647
- 0A2836
- 051B25
- 020F16
- 010508
- 000101
灰色调
- 377591
- 417690
- 4B788E
- 53798C
- 5B7A8A
- 637B88
- 6B7D86
- 727E84
- 797F82
配色和谐
互补色 +180°
- 2B7393
Chill of the Night
- 925B3A
≈ Spiced Cider
类似色 -30° +30°
- 2B7393
Chill of the Night
- 0E797F
≈ Aqua Nation
- 4D6A9C
≈ San Marino
三角配色 +120° +240°
- 2B7393
Chill of the Night
- 905570
≈ Grandeur Plum
- 6D6F2F
≈ Aged Mustard Green
分裂互补色 +150° +210°
- 2B7393
Chill of the Night
- 965555
≈ Brown Cerberus
- 846529
≈ Hunting Jacket
四角配色 +90° +180° +270°
- 2B7393
Chill of the Night
- 815989
≈ Purple Mystery
- 925B3A
≈ Spiced Cider
- 4E7747
≈ Spring Juniper
对比度与无障碍
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 {
--chill-of-the-night: #2b7393;
--chill-of-the-night-rgb: 43 115 147;
--chill-of-the-night-oklch: oklch(0.525 0.086 230.9);
}
.element {
color: var(--chill-of-the-night);
background-color: hsl(198 55% 37%);
border-color: oklch(0.525 0.086 230.9);
}Tailwind CSS v4
@theme {
--color-chill-of-the-night: #2b7393;
--color-chill-of-the-night-50: #defaff;
--color-chill-of-the-night-100: #cceeff;
--color-chill-of-the-night-200: #b0dbf4;
--color-chill-of-the-night-300: #8bc0dd;
--color-chill-of-the-night-400: #66a8c8;
--color-chill-of-the-night-500: #4190b5;
--color-chill-of-the-night-600: #387a99;
--color-chill-of-the-night-700: #2d627b;
--color-chill-of-the-night-800: #1d485a;
--color-chill-of-the-night-900: #13323f;
--color-chill-of-the-night-950: #051e28;
}SCSS
$chill-of-the-night: #2b7393;
$chill-of-the-night-rgb: 43, 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);
}