最接近的命名颜色 · #277FA5
#277FA5
最接近的命名颜色: Neptune
#277FA5(rgb(39 127 165)、hsl(198 62% 40%)、oklch(0.563 0.099 231.3))最接近命名颜色 Neptune。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#277FA5
oklch(0.563 0.099 231.3)
颜色转换
- HEX
- #277fa5
- RGB
- rgb(39 127 165)
- HSL
- hsl(198 62% 40%)
- HWB
- hwb(198 15% 35%)
- OKLCH
- oklch(0.563 0.099 231.3)
- OKLab
- oklab(0.563 -0.062 -0.078)
- CIE Lab
- lab(49.43 -16.5 -28.26)
- LCH
- lch(49.43 32.73 239.7)
- CMYK
- cmyk(76% 23% 0% 35%)
浅色调 · 深色调 · 灰色调
浅色调
- 438CAE
- 5A98B7
- 6FA5C0
- 84B1C9
- 98BED2
- ADCBDB
- C1D8E4
- D6E5ED
- EAF2F6
深色调
- 206E8F
- 1A5D79
- 144C65
- 0E3C51
- 082D3D
- 041F2B
- 02111A
- 01060A
- 000101
灰色调
- 367FA2
- 41809E
- 4B809A
- 548097
- 5C8093
- 64808F
- 6C808C
- 738088
- 798084
配色和谐
互补色 +180°
- 277FA5
Neptune
- A3633B
≈ Wet Adobe
类似色 -30° +30°
- 277FA5
Neptune
- 00858D
≈ Gulf Stream
- 5475B0
≈ Sapphire Shimmer Blue
三角配色 +120° +240°
- 277FA5
Neptune
- A15B7C
≈ Rose Wine
- 777B2E
≈ Ripe Green
分裂互补色 +150° +210°
- 277FA5
Neptune
- A85C5B
≈ Tuscan Clay
- 936E25
≈ Mulberry Brown
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 4.50:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.66:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.66:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--neptune: #277fa5;
--neptune-rgb: 39 127 165;
--neptune-oklch: oklch(0.563 0.099 231.3);
}
.element {
color: var(--neptune);
background-color: hsl(198 62% 40%);
border-color: oklch(0.563 0.099 231.3);
}Tailwind CSS v4
@theme {
--color-neptune: #277fa5;
--color-neptune-50: #dafbff;
--color-neptune-100: #c8eeff;
--color-neptune-200: #abdcf8;
--color-neptune-300: #83c1e2;
--color-neptune-400: #5ba9cf;
--color-neptune-500: #2e91bc;
--color-neptune-600: #2a7b9f;
--color-neptune-700: #21627f;
--color-neptune-800: #14495e;
--color-neptune-900: #0d3242;
--color-neptune-950: #011e2a;
}SCSS
$neptune: #277fa5;
$neptune-rgb: 39, 127, 165;
$neptune-light: mix(#fff, $neptune, 20%);
$neptune-dark: mix(#000, $neptune, 20%);
.element {
color: $neptune;
box-shadow: 0 0 0 2px rgba($neptune, 0.35);
}