最接近的命名颜色 · #04768D
#04768D
最接近的命名颜色: Celestial
#04768D(rgb(4 118 141)、hsl(190 94% 28%)、oklch(0.523 0.093 217.9))最接近命名颜色 Celestial。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#04768D
oklch(0.523 0.093 217.9)
颜色转换
- HEX
- #04768d
- RGB
- rgb(4 118 141)
- HSL
- hsl(190 94% 28%)
- HWB
- hwb(190 2% 45%)
- OKLCH
- oklch(0.523 0.093 217.9)
- OKLab
- oklab(0.523 -0.073 -0.057)
- CIE Lab
- lab(45.12 -22.13 -20.92)
- LCH
- lch(45.12 30.46 223.4)
- CMYK
- cmyk(97% 16% 0% 45%)
浅色调 · 深色调 · 灰色调
浅色调
- 328398
- 4D91A3
- 649EAF
- 7BACBA
- 91B9C5
- A7C7D1
- BDD5DC
- D3E3E8
- E9F1F3
深色调
- 03667A
- 025667
- 014755
- 013844
- 002933
- 001C23
- 000F14
- 000507
- 000101
灰色调
- 23778C
- 33798B
- 407A8A
- 4B7B88
- 557C87
- 5F7D86
- 677E84
- 707F83
- 787F82
配色和谐
互补色 +180°
- 04768D
Celestial
- 975541
≈ American Roast
类似色 -30° +30°
- 04768D
Celestial
- 007A73
≈ Hydra Turquoise
- 3A6E9C
≈ Vallarta Blue
三角配色 +120° +240°
- 04768D
Celestial
- 8C547C
≈ Dynamic Magenta
- 786A21
≈ Brazen Brass
分裂互补色 +150° +210°
- 04768D
Celestial
- 96515F
≈ Vin Rouge
- 8D5E27
≈ 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: #04768d;
--celestial-rgb: 4 118 141;
--celestial-oklch: oklch(0.523 0.093 217.9);
}
.element {
color: var(--celestial);
background-color: hsl(190 94% 28%);
border-color: oklch(0.523 0.093 217.9);
}Tailwind CSS v4
@theme {
--color-celestial: #04768d;
--color-celestial-50: #d9fcff;
--color-celestial-100: #c7f0fe;
--color-celestial-200: #a8def0;
--color-celestial-300: #80c3d8;
--color-celestial-400: #57acc3;
--color-celestial-500: #2495af;
--color-celestial-600: #227e94;
--color-celestial-700: #1c6576;
--color-celestial-800: #104a57;
--color-celestial-900: #0a333d;
--color-celestial-950: #001f26;
}SCSS
$celestial: #04768d;
$celestial-rgb: 4, 118, 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);
}