最接近的命名颜色 · #5A68AB
#5A68AB
最接近的命名颜色: Bellflower
#5A68AB(rgb(90 104 171)、hsl(230 33% 51%)、oklch(0.536 0.106 273.4))最接近命名颜色 Bellflower。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5A68AB
oklch(0.536 0.106 273.4)
颜色转换
- HEX
- #5a68ab
- RGB
- rgb(90 104 171)
- HSL
- hsl(230 33% 51%)
- HWB
- hwb(230 35% 33%)
- OKLCH
- oklch(0.536 0.106 273.4)
- OKLab
- oklab(0.536 0.006 -0.106)
- CIE Lab
- lab(45.18 8.85 -38.17)
- LCH
- lch(45.18 39.18 283.1)
- CMYK
- cmyk(47% 39% 0% 33%)
浅色调 · 深色调 · 灰色调
浅色调
- 6977B4
- 7885BD
- 8894C5
- 98A3CE
- A8B2D6
- B9C1DF
- CAD0E7
- DBE0EF
- EDEFF7
深色调
- 4D5994
- 414B7E
- 353E68
- 293054
- 1E2440
- 13182D
- 090C1B
- 03040B
- 000001
灰色调
- 5E6BA7
- 616EA3
- 65709F
- 69739B
- 6C7597
- 707792
- 747A8E
- 787C89
- 7C7E85
配色和谐
互补色 +180°
- 5A68AB
Bellflower
- 836B0C
≈ Muddy Brown
类似色 -30° +30°
- 5A68AB
Bellflower
- 2C73A6
≈ Mega Blue
- 7B5DA0
≈ Jubilee
三角配色 +120° +240°
- 5A68AB
Bellflower
- A25444
≈ Baked Clay
- 337F50
≈ Bold Irish
分裂互补色 +150° +210°
- 5A68AB
Bellflower
- 985E20
≈ Tortoiseshell Specs
- 62772A
≈ Castelvetrano Olive
四角配色 +90° +180° +270°
- 5A68AB
Bellflower
- 9F5167
≈ Raspberry Patch
- 836B0C
≈ Muddy Brown
- 007F73
≈ Green Garlands
对比度与无障碍
Ag
AA白底
WCAG 5.24:1 · APCA Lc 76
Ag
Fail黑底
WCAG 4.00:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.24:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--bellflower: #5a68ab;
--bellflower-rgb: 90 104 171;
--bellflower-oklch: oklch(0.536 0.106 273.4);
}
.element {
color: var(--bellflower);
background-color: hsl(230 33% 51%);
border-color: oklch(0.536 0.106 273.4);
}Tailwind CSS v4
@theme {
--color-bellflower: #5a68ab;
--color-bellflower-50: #ecf3ff;
--color-bellflower-100: #dde6ff;
--color-bellflower-200: #c7d1ff;
--color-bellflower-300: #a8b3ee;
--color-bellflower-400: #8a9add;
--color-bellflower-500: #7080cc;
--color-bellflower-600: #5f6dac;
--color-bellflower-700: #4b578a;
--color-bellflower-800: #354067;
--color-bellflower-900: #242c49;
--color-bellflower-950: #13192f;
}SCSS
$bellflower: #5a68ab;
$bellflower-rgb: 90, 104, 171;
$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);
}