最接近的命名颜色 · #2B7395
#2B7395
最接近的命名颜色: Chill of the Night
#2B7395(rgb(43 115 149)、hsl(199 55% 38%)、oklch(0.526 0.088 232.6))最接近命名颜色 Chill of the Night。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#2B7395
oklch(0.526 0.088 232.6)
颜色转换
- HEX
- #2b7395
- RGB
- rgb(43 115 149)
- HSL
- hsl(199 55% 38%)
- HWB
- hwb(199 17% 42%)
- OKLCH
- oklch(0.526 0.088 232.6)
- OKLab
- oklab(0.526 -0.054 -0.07)
- CIE Lab
- lab(45.15 -14.25 -25.52)
- LCH
- lch(45.15 29.23 240.8)
- CMYK
- cmyk(71% 23% 0% 42%)
浅色调 · 深色调 · 灰色调
浅色调
- 4380A0
- 598EAA
- 6E9CB5
- 82AABF
- 97B8CA
- ABC6D4
- C0D4DF
- D5E2EA
- EAF0F4
深色调
- 246381
- 1D546D
- 16455A
- 103648
- 0A2837
- 051B26
- 020F16
- 010508
- 000101
灰色调
- 377593
- 417691
- 4B788F
- 53798D
- 5B7A8B
- 637C89
- 6B7D87
- 727E85
- 797F82
配色和谐
互补色 +180°
- 2B7395
Chill of the Night
- 925B38
≈ Carrageen Moss
类似色 -30° +30°
- 2B7395
Chill of the Night
- 077981
≈ Aqua Nation
- 4F6A9E
≈ San Marino
三角配色 +120° +240°
- 2B7395
Chill of the Night
- 92546F
≈ Grandeur Plum
- 6B702F
≈ Aged Mustard Green
分裂互补色 +150° +210°
- 2B7395
Chill of the Night
- 975553
≈ Brown Cerberus
- 846527
≈ Hunting Jacket
四角配色 +90° +180° +270°
- 2B7395
Chill of the Night
- 835989
≈ Crushed Grape
- 925B38
≈ Carrageen Moss
- 4B7848
≈ Mana Tree
对比度与无障碍
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: #2b7395;
--chill-of-the-night-rgb: 43 115 149;
--chill-of-the-night-oklch: oklch(0.526 0.088 232.6);
}
.element {
color: var(--chill-of-the-night);
background-color: hsl(199 55% 38%);
border-color: oklch(0.526 0.088 232.6);
}Tailwind CSS v4
@theme {
--color-chill-of-the-night: #2b7395;
--color-chill-of-the-night-50: #defaff;
--color-chill-of-the-night-100: #ccedff;
--color-chill-of-the-night-200: #b0dbf5;
--color-chill-of-the-night-300: #8bbfde;
--color-chill-of-the-night-400: #66a8ca;
--color-chill-of-the-night-500: #4090b7;
--color-chill-of-the-night-600: #387a9a;
--color-chill-of-the-night-700: #2c627c;
--color-chill-of-the-night-800: #1d485b;
--color-chill-of-the-night-900: #133240;
--color-chill-of-the-night-950: #051e29;
}SCSS
$chill-of-the-night: #2b7395;
$chill-of-the-night-rgb: 43, 115, 149;
$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);
}