最接近的命名颜色 · #197FA9
#197FA9
最接近的命名颜色: Neptune
#197FA9(rgb(25 127 169)、hsl(198 74% 38%)、oklch(0.562 0.108 232.1))最接近命名颜色 Neptune。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#197FA9
oklch(0.562 0.108 232.1)
颜色转换
- HEX
- #197fa9
- RGB
- rgb(25 127 169)
- HSL
- hsl(198 74% 38%)
- HWB
- hwb(198 10% 34%)
- OKLCH
- oklch(0.562 0.108 232.1)
- OKLab
- oklab(0.562 -0.066 -0.085)
- CIE Lab
- lab(49.3 -16.95 -30.81)
- LCH
- lch(49.3 35.16 241.2)
- CMYK
- cmyk(85% 25% 0% 34%)
浅色调 · 深色调 · 灰色调
浅色调
- 3B8CB2
- 5498BB
- 6BA5C3
- 80B2CC
- 96BED5
- ABCBDD
- C0D8E6
- D5E5EE
- EAF2F7
深色调
- 146E92
- 105D7C
- 0B4C67
- 073C53
- 042D3F
- 021F2C
- 01111B
- 00060A
- 000101
灰色调
- 2D7FA5
- 3B80A1
- 46809D
- 518099
- 5A8195
- 628191
- 6A818D
- 728089
- 798084
配色和谐
互补色 +180°
- 197FA9
Neptune
- A66134
≈ Clove Dye
类似色 -30° +30°
- 197FA9
Neptune
- 00858D
≈ Gulf Stream
- 5174B4
≈ Prefect
三角配色 +120° +240°
- 197FA9
Neptune
- A4597B
≈ Cranbrook
- 777B24
≈ Ripe Green
分裂互补色 +150° +210°
- 197FA9
Neptune
- AB5958
≈ Lingonberry Punch
- 946E18
≈ Honey Yellow Green
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AA白底
WCAG 4.51:1 · APCA Lc 71
Ag
AA黑底
WCAG 4.64:1 · APCA Lc 31
最佳文字颜色: #000000
WCAG 4.64:1 (AA) · APCA Lc 31
Contrast pairs
代码片段
CSS
:root {
--neptune: #197fa9;
--neptune-rgb: 25 127 169;
--neptune-oklch: oklch(0.562 0.108 232.1);
}
.element {
color: var(--neptune);
background-color: hsl(198 74% 38%);
border-color: oklch(0.562 0.108 232.1);
}Tailwind CSS v4
@theme {
--color-neptune: #197fa9;
--color-neptune-50: #d8fbff;
--color-neptune-100: #c6efff;
--color-neptune-200: #a7ddfc;
--color-neptune-300: #7ec1e6;
--color-neptune-400: #54a9d3;
--color-neptune-500: #1f92c1;
--color-neptune-600: #1f7ba3;
--color-neptune-700: #196383;
--color-neptune-800: #0c4960;
--color-neptune-900: #083244;
--color-neptune-950: #001e2c;
}SCSS
$neptune: #197fa9;
$neptune-rgb: 25, 127, 169;
$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);
}