最接近的命名颜色 · #1F7691
#1F7691
最接近的命名颜色: Celestial
#1F7691(rgb(31 118 145)、hsl(194 65% 35%)、oklch(0.528 0.089 223.6))最接近命名颜色 Celestial。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#1F7691
oklch(0.528 0.089 223.6)
颜色转换
- HEX
- #1f7691
- RGB
- rgb(31 118 145)
- HSL
- hsl(194 65% 35%)
- HWB
- hwb(194 12% 43%)
- OKLCH
- oklch(0.528 0.089 223.6)
- OKLab
- oklab(0.528 -0.064 -0.061)
- CIE Lab
- lab(45.65 -18.71 -22.44)
- LCH
- lch(45.65 29.21 230.2)
- CMYK
- cmyk(79% 19% 0% 43%)
浅色调 · 深色调 · 灰色调
浅色调
- 3C839C
- 5491A7
- 6A9EB2
- 7FACBC
- 95B9C7
- AAC7D2
- BFD5DE
- D4E3E9
- E9F1F4
深色调
- 19667D
- 14566A
- 0F4758
- 0A3846
- 062935
- 031C25
- 010F15
- 000507
- 000101
灰色调
- 2F778F
- 3C788E
- 467A8C
- 507B8B
- 597C89
- 617D87
- 697E86
- 717E84
- 797F82
配色和谐
互补色 +180°
- 1F7691
Celestial
- 965940
≈ Rookwood Terra Cotta
类似色 -30° +30°
- 1F7691
Celestial
- 087B7A
≈ Buzzards Bay
- 456E9E
≈ San Marino
三角配色 +120° +240°
- 1F7691
Celestial
- 8F5678
≈ Queen’s Honour
- 746D2A
≈ Olivetone
分裂互补色 +150° +210°
- 1F7691
Celestial
- 98555C
≈ Cuban Rhythm
- 8A632A
≈ Kumera
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 5.17:1 · APCA Lc 75
Ag
Fail黑底
WCAG 4.05:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.17:1 (AA) · APCA Lc 75
Contrast pairs
代码片段
CSS
:root {
--celestial: #1f7691;
--celestial-rgb: 31 118 145;
--celestial-oklch: oklch(0.528 0.089 223.6);
}
.element {
color: var(--celestial);
background-color: hsl(194 65% 35%);
border-color: oklch(0.528 0.089 223.6);
}Tailwind CSS v4
@theme {
--color-celestial: #1f7691;
--color-celestial-50: #dbfbff;
--color-celestial-100: #caefff;
--color-celestial-200: #acddf1;
--color-celestial-300: #85c1da;
--color-celestial-400: #5faac5;
--color-celestial-500: #3493b1;
--color-celestial-600: #2e7c96;
--color-celestial-700: #256378;
--color-celestial-800: #184958;
--color-celestial-900: #0f333e;
--color-celestial-950: #021e27;
}SCSS
$celestial: #1f7691;
$celestial-rgb: 31, 118, 145;
$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);
}