最接近的命名颜色 · #003852
#003852
最接近的命名颜色: Sea of Stars
#003852(rgb(0 56 82)、hsl(199 100% 16%)、oklch(0.322 0.07 236.3))最接近命名颜色 Sea of Stars。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#003852
oklch(0.322 0.07 236.3)
颜色转换
- HEX
- #003852
- RGB
- rgb(0 56 82)
- HSL
- hsl(199 100% 16%)
- HWB
- hwb(199 0% 68%)
- OKLCH
- oklch(0.322 0.07 236.3)
- OKLab
- oklab(0.322 -0.039 -0.058)
- CIE Lab
- lab(21.38 -8.73 -20.88)
- LCH
- lch(21.38 22.64 247.3)
- CMYK
- cmyk(100% 32% 0% 68%)
浅色调 · 深色调 · 灰色调
浅色调
- 1F4A62
- 385C73
- 4F6F83
- 678394
- 7F96A5
- 97ABB7
- B1BFC9
- CAD4DA
- E4E9ED
深色调
- 002F46
- 00273B
- 001F2F
- 001725
- 000F1A
- 000811
- 000408
- 000102
- 000000
灰色调
- 133F57
- 22465C
- 2E4D60
- 3A5565
- 465C69
- 51636E
- 5D6A73
- 697177
- 74797C
配色和谐
互补色 +180°
- 003852
Sea of Stars
- 4E2909
≈ Brown Study
类似色 -30° +30°
- 003852
Sea of Stars
- 003B41
≈ Ghostlands Coal
- 233257
≈ Boatswain
三角配色 +120° +240°
- 003852
Sea of Stars
- 4F2334
≈ Carambar
- 323705
≈ Wasabi Nori
分裂互补色 +150° +210°
- 003852
Sea of Stars
- 512420
≈ Torrefacto Roast
- 423000
≈ Night in the Woods
四角配色 +90° +180° +270°
- 003852
Sea of Stars
- 452646
≈ Opulent Mauve
- 4E2909
≈ Brown Study
- 183D1D
≈ Queen of Trees
对比度与无障碍
Ag
AAA白底
WCAG 12.44:1 · APCA Lc 98
Ag
Fail黑底
WCAG 1.68:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 12.44:1 (AAA) · APCA Lc 98
Contrast pairs
代码片段
CSS
:root {
--sea-of-stars: #003852;
--sea-of-stars-rgb: 0 56 82;
--sea-of-stars-oklch: oklch(0.322 0.07 236.3);
}
.element {
color: var(--sea-of-stars);
background-color: hsl(199 100% 16%);
border-color: oklch(0.322 0.07 236.3);
}Tailwind CSS v4
@theme {
--color-sea-of-stars: #003852;
--color-sea-of-stars-50: #e4f9ff;
--color-sea-of-stars-100: #d3ecfd;
--color-sea-of-stars-200: #bad9ef;
--color-sea-of-stars-300: #97bdd7;
--color-sea-of-stars-400: #76a5c2;
--color-sea-of-stars-500: #578dae;
--color-sea-of-stars-600: #4a7893;
--color-sea-of-stars-700: #3b6076;
--color-sea-of-stars-800: #294657;
--color-sea-of-stars-900: #1b313d;
--color-sea-of-stars-950: #0c1d26;
}SCSS
$sea-of-stars: #003852;
$sea-of-stars-rgb: 0, 56, 82;
$sea-of-stars-light: mix(#fff, $sea-of-stars, 20%);
$sea-of-stars-dark: mix(#000, $sea-of-stars, 20%);
.element {
color: $sea-of-stars;
box-shadow: 0 0 0 2px rgba($sea-of-stars, 0.35);
}