最接近的命名颜色 · #6C7589
#6C7589
最接近的命名颜色: Abandoned Spaceship
#6C7589(rgb(108 117 137)、hsl(221 12% 48%)、oklch(0.562 0.033 266.2))最接近命名颜色 Abandoned Spaceship。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#6C7589
oklch(0.562 0.033 266.2)
颜色转换
- HEX
- #6c7589
- RGB
- rgb(108 117 137)
- HSL
- hsl(221 12% 48%)
- HWB
- hwb(221 42% 46%)
- OKLCH
- oklch(0.562 0.033 266.2)
- OKLab
- oklab(0.562 -0.002 -0.033)
- CIE Lab
- lab(49.01 -0.04 -12.19)
- LCH
- lch(49.01 12.19 269.8)
- CMYK
- cmyk(21% 15% 0% 46%)
浅色调 · 深色调 · 灰色调
浅色调
- 7A8294
- 888FA0
- 969CAB
- A4AAB7
- B3B8C3
- C2C6CE
- D1D4DA
- E0E2E7
- EFF0F3
深色调
- 5D6576
- 4E5564
- 404653
- 323742
- 252931
- 191C22
- 0D0F14
- 040507
- 000101
灰色调
- 6E7688
- 707787
- 727886
- 747986
- 767B85
- 787C84
- 7A7D83
- 7C7E82
- 7E7F81
配色和谐
互补色 +180°
- 6C7589
Abandoned Spaceship
- 7E745F
≈ Messenger Bag
类似色 -30° +30°
- 6C7589
Abandoned Spaceship
- 637886
≈ Tool Blue
- 767187
≈ Early Dawn
三角配色 +120° +240°
- 6C7589
Abandoned Spaceship
- 886E6B
≈ Umbra Sand
- 697B6A
≈ Cricket Green
分裂互补色 +150° +210°
- 6C7589
Abandoned Spaceship
- 857063
≈ Dusty Chestnut
- 747862
≈ Deep Lichen Green
四角配色 +90° +180° +270°
- 6C7589
Abandoned Spaceship
- 866D76
≈ Velvet Slipper
- 7E745F
≈ Messenger Bag
- 617C74
≈ Forest Edge
对比度与无障碍
Ag
AA白底
WCAG 4.62:1 · APCA Lc 72
Ag
AA黑底
WCAG 4.54:1 · APCA Lc 30
最佳文字颜色: #FFFFFF
WCAG 4.62:1 (AA) · APCA Lc 72
Contrast pairs
代码片段
CSS
:root {
--abandoned-spaceship: #6c7589;
--abandoned-spaceship-rgb: 108 117 137;
--abandoned-spaceship-oklch: oklch(0.562 0.033 266.2);
}
.element {
color: var(--abandoned-spaceship);
background-color: hsl(221 12% 48%);
border-color: oklch(0.562 0.033 266.2);
}Tailwind CSS v4
@theme {
--color-abandoned-spaceship: #6c7589;
--color-abandoned-spaceship-50: #f1f5ff;
--color-abandoned-spaceship-100: #e3e8f3;
--color-abandoned-spaceship-200: #ced4e3;
--color-abandoned-spaceship-300: #b0b7c9;
--color-abandoned-spaceship-400: #959eb3;
--color-abandoned-spaceship-500: #7c869d;
--color-abandoned-spaceship-600: #697284;
--color-abandoned-spaceship-700: #545b6a;
--color-abandoned-spaceship-800: #3d424e;
--color-abandoned-spaceship-900: #2a2e36;
--color-abandoned-spaceship-950: #171b21;
}SCSS
$abandoned-spaceship: #6c7589;
$abandoned-spaceship-rgb: 108, 117, 137;
$abandoned-spaceship-light: mix(#fff, $abandoned-spaceship, 20%);
$abandoned-spaceship-dark: mix(#000, $abandoned-spaceship, 20%);
.element {
color: $abandoned-spaceship;
box-shadow: 0 0 0 2px rgba($abandoned-spaceship, 0.35);
}