最接近的命名颜色 · #5A69A5
#5A69A5
最接近的命名颜色: Bellflower
#5A69A5(rgb(90 105 165)、hsl(228 29% 50%)、oklch(0.535 0.096 272.2))最接近命名颜色 Bellflower。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5A69A5
oklch(0.535 0.096 272.2)
颜色转换
- HEX
- #5a69a5
- RGB
- rgb(90 105 165)
- HSL
- hsl(228 29% 50%)
- HWB
- hwb(228 35% 35%)
- OKLCH
- oklch(0.535 0.096 272.2)
- OKLab
- oklab(0.535 0.004 -0.096)
- CIE Lab
- lab(45.2 6.8 -34.62)
- LCH
- lch(45.2 35.29 281.1)
- CMYK
- cmyk(45% 36% 0% 35%)
浅色调 · 深色调 · 灰色调
浅色调
- 6977AE
- 7886B8
- 8895C1
- 98A3CA
- A8B2D3
- B9C1DC
- CAD0E5
- DCE0EE
- EDEFF6
深色调
- 4D5A8F
- 414C79
- 353E65
- 293151
- 1E243D
- 13182B
- 090C1A
- 03040A
- 000001
灰色调
- 5E6CA2
- 616E9E
- 65719B
- 697397
- 6D7594
- 707890
- 747A8C
- 787C88
- 7C7E84
配色和谐
互补色 +180°
- 5A69A5
Bellflower
- 816B1F
≈ Yukon Gold
类似色 -30° +30°
- 5A69A5
Bellflower
- 3373A0
≈ Muted Blue
- 785F9B
≈ Jubilee
三角配色 +120° +240°
- 5A69A5
Bellflower
- 9D5749
≈ Spicy Cayenne
- 3D7D51
≈ Amazon
分裂互补色 +150° +210°
- 5A69A5
Bellflower
- 955F2C
≈ Chilli Con Carne
- 647632
≈ Muddy Green
四角配色 +90° +180° +270°
- 5A69A5
Bellflower
- 9B5469
≈ Vive L’amour
- 816B1F
≈ Yukon Gold
- 007F72
≈ Green Garlands
对比度与无障碍
Ag
AA白底
WCAG 5.25:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.99:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--bellflower: #5a69a5;
--bellflower-rgb: 90 105 165;
--bellflower-oklch: oklch(0.535 0.096 272.2);
}
.element {
color: var(--bellflower);
background-color: hsl(228 29% 50%);
border-color: oklch(0.535 0.096 272.2);
}Tailwind CSS v4
@theme {
--color-bellflower: #5a69a5;
--color-bellflower-50: #ecf4ff;
--color-bellflower-100: #dde6ff;
--color-bellflower-200: #c7d2fe;
--color-bellflower-300: #a8b4e9;
--color-bellflower-400: #8b9bd8;
--color-bellflower-500: #7082c6;
--color-bellflower-600: #5f6ea7;
--color-bellflower-700: #4c5886;
--color-bellflower-800: #354064;
--color-bellflower-900: #242c46;
--color-bellflower-950: #13192e;
}SCSS
$bellflower: #5a69a5;
$bellflower-rgb: 90, 105, 165;
$bellflower-light: mix(#fff, $bellflower, 20%);
$bellflower-dark: mix(#000, $bellflower, 20%);
.element {
color: $bellflower;
box-shadow: 0 0 0 2px rgba($bellflower, 0.35);
}