最接近的命名颜色 · #5A5CB3
#5A5CB3
最接近的命名颜色: Bellflower
#5A5CB3(rgb(90 92 179)、hsl(239 37% 53%)、oklch(0.517 0.135 279.6))最接近命名颜色 Bellflower。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#5A5CB3
oklch(0.517 0.135 279.6)
颜色转换
- HEX
- #5a5cb3
- RGB
- rgb(90 92 179)
- HSL
- hsl(239 37% 53%)
- HWB
- hwb(239 35% 30%)
- OKLCH
- oklch(0.517 0.135 279.6)
- OKLab
- oklab(0.517 0.022 -0.133)
- CIE Lab
- lab(42.28 17.89 -47.43)
- LCH
- lch(42.28 50.69 290.7)
- CMYK
- cmyk(50% 49% 0% 30%)
浅色调 · 深色调 · 灰色调
浅色调
- 686CBB
- 777CC4
- 878CCC
- 979CD4
- A7ADDB
- B8BDE3
- C9CDEA
- DBDEF1
- EDEEF8
深色调
- 4D4F9B
- 414284
- 35366E
- 292A58
- 1E1F43
- 13142F
- 090A1D
- 03030C
- 000001
灰色调
- 5D60AE
- 6165AA
- 6469A5
- 686CA0
- 6C709B
- 6F7396
- 737791
- 787A8B
- 7C7D86
配色和谐
互补色 +180°
- 5A5CB3
Bellflower
- 776800
≈ Arousing Alligator
类似色 -30° +30°
- 5A5CB3
Bellflower
- 166BB1
≈ Daphne
- 7F4EA1
≈ Royal Lavender
三角配色 +120° +240°
- 5A5CB3
Bellflower
- A64724
≈ Potter’s Clay
- 007C4F
≈ Salem
分裂互补色 +150° +210°
- 5A5CB3
Bellflower
- 905A00
≈ Rat Brown
- 4E7609
≈ Tropicana
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 5.80:1 · APCA Lc 79
Ag
Fail黑底
WCAG 3.61:1 · APCA Lc 23
最佳文字颜色: #FFFFFF
WCAG 5.80:1 (AA) · APCA Lc 79
Contrast pairs
代码片段
CSS
:root {
--bellflower: #5a5cb3;
--bellflower-rgb: 90 92 179;
--bellflower-oklch: oklch(0.517 0.135 279.6);
}
.element {
color: var(--bellflower);
background-color: hsl(239 37% 53%);
border-color: oklch(0.517 0.135 279.6);
}Tailwind CSS v4
@theme {
--color-bellflower: #5a5cb3;
--color-bellflower-50: #eef1ff;
--color-bellflower-100: #e0e3ff;
--color-bellflower-200: #caceff;
--color-bellflower-300: #acaffb;
--color-bellflower-400: #8f95ec;
--color-bellflower-500: #7679dd;
--color-bellflower-600: #6467ba;
--color-bellflower-700: #4f5296;
--color-bellflower-800: #383c70;
--color-bellflower-900: #26294f;
--color-bellflower-950: #151734;
}SCSS
$bellflower: #5a5cb3;
$bellflower-rgb: 90, 92, 179;
$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);
}