最接近的命名颜色 · #6666A5
#6666A5
最接近的命名颜色: Bellflower
#6666A5(rgb(102 102 165)、hsl(240 26% 52%)、oklch(0.538 0.098 282.6))最接近命名颜色 Bellflower。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#6666A5
oklch(0.538 0.098 282.6)
颜色转换
- HEX
- #6666a5
- RGB
- rgb(102 102 165)
- HSL
- hsl(240 26% 52%)
- HWB
- hwb(240 40% 35%)
- OKLCH
- oklch(0.538 0.098 282.6)
- OKLab
- oklab(0.538 0.021 -0.095)
- CIE Lab
- lab(45.31 12.18 -34.37)
- LCH
- lch(45.31 36.46 289.5)
- CMYK
- cmyk(38% 38% 0% 35%)
浅色调 · 深色调 · 灰色调
浅色调
- 7475AE
- 8283B8
- 9092C1
- 9FA1CA
- AFB1D3
- BEC0DC
- CECFE5
- DEDFEE
- EEEFF6
深色调
- 58588F
- 4A4A79
- 3C3C65
- 2F2F51
- 23233D
- 17172B
- 0C0C1A
- 04040A
- 000001
灰色调
- 6869A2
- 6B6C9E
- 6D6F9B
- 707197
- 727494
- 757690
- 78798C
- 7A7B88
- 7D7E84
配色和谐
互补色 +180°
- 6666A5
Bellflower
- 797022
≈ Wood Garlic
类似色 -30° +30°
- 6666A5
Bellflower
- 4271A5
≈ Flat Blue
- 825C97
≈ Purple Tanzanite
三角配色 +120° +240°
- 6666A5
Bellflower
- 9D5A3E
≈ Chocolate Fountain
- 2B7F5D
≈ Verdant Green
分裂互补色 +150° +210°
- 6666A5
Bellflower
- 906424
≈ Tapenade
- 587A3C
≈ Luck of the Irish
四角配色 +90° +180° +270°
- 6666A5
Bellflower
- 9E555E
≈ Cuban Rhythm
- 797022
≈ Wood Garlic
- 007F7C
≈ Teal
对比度与无障碍
Ag
AA白底
WCAG 5.23:1 · APCA Lc 76
Ag
Fail黑底
WCAG 4.00:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.23:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--bellflower: #6666a5;
--bellflower-rgb: 102 102 165;
--bellflower-oklch: oklch(0.538 0.098 282.6);
}
.element {
color: var(--bellflower);
background-color: hsl(240 26% 52%);
border-color: oklch(0.538 0.098 282.6);
}Tailwind CSS v4
@theme {
--color-bellflower: #6666a5;
--color-bellflower-50: #f1f2ff;
--color-bellflower-100: #e4e4ff;
--color-bellflower-200: #cfcffd;
--color-bellflower-300: #b1b1e8;
--color-bellflower-400: #9697d7;
--color-bellflower-500: #7d7dc5;
--color-bellflower-600: #6a6aa6;
--color-bellflower-700: #545585;
--color-bellflower-800: #3c3e63;
--color-bellflower-900: #292b46;
--color-bellflower-950: #17182d;
}SCSS
$bellflower: #6666a5;
$bellflower-rgb: 102, 102, 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);
}