最接近的命名颜色 · #0C3657
#0C3657
最接近的命名颜色: Beyond the Stars
#0C3657(rgb(12 54 87)、hsl(206 76% 19%)、oklch(0.323 0.074 246.9))最接近命名颜色 Beyond the Stars。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#0C3657
oklch(0.323 0.074 246.9)
颜色转换
- HEX
- #0c3657
- RGB
- rgb(12 54 87)
- HSL
- hsl(206 76% 19%)
- HWB
- hwb(206 5% 66%)
- OKLCH
- oklch(0.323 0.074 246.9)
- OKLab
- oklab(0.323 -0.029 -0.068)
- CIE Lab
- lab(21.22 -4.16 -24.41)
- LCH
- lch(21.22 24.76 260.3)
- CMYK
- cmyk(86% 38% 0% 66%)
浅色调 · 深色调 · 灰色调
浅色调
- 254867
- 3C5B77
- 526E87
- 698198
- 8195A9
- 99AABA
- B2BECB
- CBD4DC
- E5E9ED
深色调
- 092E4B
- 06253E
- 041E33
- 031627
- 020F1C
- 010812
- 000308
- 000103
- 000000
灰色调
- 1A3D5B
- 264560
- 324C64
- 3D5368
- 485B6C
- 536270
- 5E6A74
- 697178
- 75787C
配色和谐
互补色 +180°
- 0C3657
Beyond the Stars
- 4B2B00
≈ Stirland Mud
类似色 -30° +30°
- 0C3657
Beyond the Stars
- 003B47
≈ Ghostlands Coal
- 2B2F59
≈ Deep Sea Base
三角配色 +120° +240°
- 0C3657
Beyond the Stars
- 52212D
≈ Largest Black Slug
- 293A09
≈ Wasabi Nori
分裂互补色 +150° +210°
- 0C3657
Beyond the Stars
- 532416
≈ Peaty Brown
- 3D3300
≈ Hidden Passage
四角配色 +90° +180° +270°
- 0C3657
Beyond the Stars
- 4B2341
≈ Prestige Mauve
- 4B2B00
≈ Stirland Mud
- 043E24
≈ Angel Green
对比度与无障碍
Ag
AAA白底
WCAG 12.49:1 · APCA Lc 98
Ag
Fail黑底
WCAG 1.68:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 12.49:1 (AAA) · APCA Lc 98
Contrast pairs
代码片段
CSS
:root {
--beyond-the-stars: #0c3657;
--beyond-the-stars-rgb: 12 54 87;
--beyond-the-stars-oklch: oklch(0.323 0.074 246.9);
}
.element {
color: var(--beyond-the-stars);
background-color: hsl(206 76% 19%);
border-color: oklch(0.323 0.074 246.9);
}Tailwind CSS v4
@theme {
--color-beyond-the-stars: #0c3657;
--color-beyond-the-stars-50: #e6f8ff;
--color-beyond-the-stars-100: #d6ebff;
--color-beyond-the-stars-200: #bdd8f3;
--color-beyond-the-stars-300: #9bbbdc;
--color-beyond-the-stars-400: #7ba3c8;
--color-beyond-the-stars-500: #5d8bb5;
--color-beyond-the-stars-600: #4f7699;
--color-beyond-the-stars-700: #3f5e7a;
--color-beyond-the-stars-800: #2c455a;
--color-beyond-the-stars-900: #1e303f;
--color-beyond-the-stars-950: #0d1c28;
}SCSS
$beyond-the-stars: #0c3657;
$beyond-the-stars-rgb: 12, 54, 87;
$beyond-the-stars-light: mix(#fff, $beyond-the-stars, 20%);
$beyond-the-stars-dark: mix(#000, $beyond-the-stars, 20%);
.element {
color: $beyond-the-stars;
box-shadow: 0 0 0 2px rgba($beyond-the-stars, 0.35);
}