最接近的命名颜色 · #1B758D
#1B758D
最接近的命名颜色: Celestial
#1B758D(rgb(27 117 141)、hsl(193 68% 33%)、oklch(0.523 0.088 220.6))最接近命名颜色 Celestial。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1B758D
oklch(0.523 0.088 220.6)
颜色转换
- HEX
- #1b758d
- RGB
- rgb(27 117 141)
- HSL
- hsl(193 68% 33%)
- HWB
- hwb(193 11% 45%)
- OKLCH
- oklch(0.523 0.088 220.6)
- OKLab
- oklab(0.523 -0.067 -0.057)
- CIE Lab
- lab(45.1 -19.83 -20.93)
- LCH
- lch(45.1 28.83 226.5)
- CMYK
- cmyk(81% 17% 0% 45%)
浅色调 · 深色调 · 灰色调
浅色调
- 3A8298
- 5290A3
- 699DAF
- 7EABBA
- 93B9C5
- A9C6D1
- BED4DC
- D4E2E8
- E9F1F3
深色调
- 16657A
- 115567
- 0C4655
- 083744
- 052933
- 021C23
- 010F14
- 000507
- 000101
灰色调
- 2D768C
- 3A788B
- 45798A
- 4F7A88
- 587B87
- 617C86
- 697D84
- 717E83
- 787F82
配色和谐
互补色 +180°
- 1B758D
Celestial
- 945841
≈ Seville Scarlet
类似色 -30° +30°
- 1B758D
Celestial
- 0C7A75
≈ Emperor Jade
- 416D9B
≈ National Anthem
三角配色 +120° +240°
- 1B758D
Celestial
- 8C5579
≈ Plum Highness
- 756B28
≈ Aged Mustard Green
分裂互补色 +150° +210°
- 1B758D
Celestial
- 95535E
≈ Mesa Red
- 8A602B
≈ Rusty Coin
四角配色 +90° +180° +270°
对比度与无障碍
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 {
--celestial: #1b758d;
--celestial-rgb: 27 117 141;
--celestial-oklch: oklch(0.523 0.088 220.6);
}
.element {
color: var(--celestial);
background-color: hsl(193 68% 33%);
border-color: oklch(0.523 0.088 220.6);
}Tailwind CSS v4
@theme {
--color-celestial: #1b758d;
--color-celestial-50: #dbfbff;
--color-celestial-100: #c9effd;
--color-celestial-200: #acddf0;
--color-celestial-300: #85c2d8;
--color-celestial-400: #5eabc3;
--color-celestial-500: #3393af;
--color-celestial-600: #2d7d94;
--color-celestial-700: #246476;
--color-celestial-800: #174957;
--color-celestial-900: #0f333d;
--color-celestial-950: #021f26;
}SCSS
$celestial: #1b758d;
$celestial-rgb: 27, 117, 141;
$celestial-light: mix(#fff, $celestial, 20%);
$celestial-dark: mix(#000, $celestial, 20%);
.element {
color: $celestial;
box-shadow: 0 0 0 2px rgba($celestial, 0.35);
}