最接近的命名颜色 · #1E758D
#1E758D
最接近的命名颜色: Celestial
#1E758D(rgb(30 117 141)、hsl(193 65% 34%)、oklch(0.524 0.087 221))最接近命名颜色 Celestial。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1E758D
oklch(0.524 0.087 221)
颜色转换
- HEX
- #1e758d
- RGB
- rgb(30 117 141)
- HSL
- hsl(193 65% 34%)
- HWB
- hwb(193 12% 45%)
- OKLCH
- oklch(0.524 0.087 221)
- OKLab
- oklab(0.524 -0.065 -0.057)
- CIE Lab
- lab(45.16 -19.46 -20.82)
- LCH
- lch(45.16 28.5 226.9)
- CMYK
- cmyk(79% 17% 0% 45%)
浅色调 · 深色调 · 灰色调
浅色调
- 3C8298
- 5390A3
- 699DAF
- 7FABBA
- 94B9C5
- A9C6D1
- BED4DC
- D4E2E8
- E9F1F3
深色调
- 19657A
- 135567
- 0E4655
- 093744
- 052933
- 031C23
- 010F14
- 000507
- 000101
灰色调
- 2E768C
- 3B788B
- 46798A
- 507A88
- 597B87
- 617C86
- 697D84
- 717E83
- 797F82
配色和谐
互补色 +180°
- 1E758D
Celestial
- 945842
≈ Seville Scarlet
类似色 -30° +30°
- 1E758D
Celestial
- 117A76
≈ Surfie Green
- 426D9A
≈ National Anthem
三角配色 +120° +240°
- 1E758D
Celestial
- 8C5579
≈ Plum Highness
- 756B2A
≈ Aged Mustard Green
分裂互补色 +150° +210°
- 1E758D
Celestial
- 95545E
≈ Mesa Red
- 89612C
≈ Rusty Coin
四角配色 +90° +180° +270°
对比度与无障碍
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 {
--celestial: #1e758d;
--celestial-rgb: 30 117 141;
--celestial-oklch: oklch(0.524 0.087 221);
}
.element {
color: var(--celestial);
background-color: hsl(193 65% 34%);
border-color: oklch(0.524 0.087 221);
}Tailwind CSS v4
@theme {
--color-celestial: #1e758d;
--color-celestial-50: #dcfbff;
--color-celestial-100: #caeffd;
--color-celestial-200: #adddef;
--color-celestial-300: #86c2d8;
--color-celestial-400: #60aac2;
--color-celestial-500: #3593ae;
--color-celestial-600: #2f7c93;
--color-celestial-700: #256476;
--color-celestial-800: #184957;
--color-celestial-900: #10333d;
--color-celestial-950: #021e26;
}SCSS
$celestial: #1e758d;
$celestial-rgb: 30, 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);
}