最接近的命名颜色 · #386ABF
#386ABF
最接近的命名颜色: Matt Blue
#386ABF(rgb(56 106 191)、hsl(218 55% 48%)、oklch(0.534 0.144 260.3))最接近命名颜色 Matt Blue。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#386ABF
oklch(0.534 0.144 260.3)
颜色转换
- HEX
- #386abf
- RGB
- rgb(56 106 191)
- HSL
- hsl(218 55% 48%)
- HWB
- hwb(218 22% 25%)
- OKLCH
- oklch(0.534 0.144 260.3)
- OKLab
- oklab(0.534 -0.024 -0.142)
- CIE Lab
- lab(44.76 5.39 -50.58)
- LCH
- lch(44.76 50.86 276.1)
- CMYK
- cmyk(71% 45% 0% 25%)
浅色调 · 深色调 · 灰色调
浅色调
- 4B79C6
- 5F88CE
- 7297D5
- 85A6DB
- 99B4E2
- ADC3E8
- C1D2EE
- D5E1F4
- EAF0FA
深色调
- 2F5BA6
- 274D8D
- 1F3F75
- 17315E
- 0F2448
- 081833
- 040D1F
- 01040D
- 000002
灰色调
- 406DB9
- 4870B3
- 4F72AD
- 5775A7
- 5E77A1
- 65799B
- 6C7B94
- 737D8E
- 797F87
配色和谐
互补色 +180°
- 386ABF
Matt Blue
- 8E6400
≈ Alligator
类似色 -30° +30°
- 386ABF
Matt Blue
- 00779F
≈ Mitchell Blue
- 6E5AB9
≈ Simply Purple
三角配色 +120° +240°
- 386ABF
Matt Blue
- B14348
≈ Intrigue Red
- 378027
≈ Bilbao
分裂互补色 +150° +210°
- 386ABF
Matt Blue
- AA4F00
≈ Cinnamon Bun
- 717200
≈ Bronze Yellow
四角配色 +90° +180° +270°
- 386ABF
Matt Blue
- A74378
≈ Pink Ballad
- 8E6400
≈ Alligator
- 008064
≈ Generic Viridian
对比度与无障碍
Ag
AA白底
WCAG 5.27:1 · APCA Lc 76
Ag
Fail黑底
WCAG 3.98:1 · APCA Lc 26
最佳文字颜色: #FFFFFF
WCAG 5.27:1 (AA) · APCA Lc 76
Contrast pairs
代码片段
CSS
:root {
--matt-blue: #386abf;
--matt-blue-rgb: 56 106 191;
--matt-blue-oklch: oklch(0.534 0.144 260.3);
}
.element {
color: var(--matt-blue);
background-color: hsl(218 55% 48%);
border-color: oklch(0.534 0.144 260.3);
}Tailwind CSS v4
@theme {
--color-matt-blue: #386abf;
--color-matt-blue-50: #dff6ff;
--color-matt-blue-100: #cee9ff;
--color-matt-blue-200: #b3d5ff;
--color-matt-blue-300: #8fb7ff;
--color-matt-blue-400: #6b9ef3;
--color-matt-blue-500: #4a83e4;
--color-matt-blue-600: #406fc0;
--color-matt-blue-700: #33599b;
--color-matt-blue-800: #204273;
--color-matt-blue-900: #152d51;
--color-matt-blue-950: #071a36;
}SCSS
$matt-blue: #386abf;
$matt-blue-rgb: 56, 106, 191;
$matt-blue-light: mix(#fff, $matt-blue, 20%);
$matt-blue-dark: mix(#000, $matt-blue, 20%);
.element {
color: $matt-blue;
box-shadow: 0 0 0 2px rgba($matt-blue, 0.35);
}