أقرب لون مسمّى · #0C283F
#0C283F
أقرب لون مسمّى: Midnight Ocean
#0C283F (rgb(12 40 63)، hsl(207 68% 15%)، oklch(0.268 0.055 246.6)) أقرب إلى اللون المسمّى Midnight Ocean. شاهد الدرجات الفاتحة والداكنة والتناسقات وتباين WCAG وAPCA وأكواد CSS وTailwind v4 وSCSS.
#0C283F
oklch(0.268 0.055 246.6)
تحويلات الألوان
- HEX
- #0c283f
- RGB
- rgb(12 40 63)
- HSL
- hsl(207 68% 15%)
- HWB
- hwb(207 5% 75%)
- OKLCH
- oklch(0.268 0.055 246.6)
- OKLab
- oklab(0.268 -0.022 -0.05)
- CIE Lab
- lab(14.98 -3.68 -18.03)
- LCH
- lch(14.98 18.4 258.5)
- CMYK
- cmyk(81% 37% 0% 75%)
درجات فاتحة · درجات داكنة · درجات رمادية
درجات فاتحة
- 223B50
- 384E62
- 4E6275
- 667787
- 7E8C9A
- 96A2AE
- AFB9C2
- C9D0D6
- E4E7EA
درجات داكنة
- 092135
- 061B2C
- 041523
- 030F1B
- 020912
- 01040A
- 000204
- 000101
- 000000
درجات رمادية
- 183045
- 23394C
- 2F4152
- 3A4A59
- 45535F
- 505C66
- 5C646C
- 686E73
- 747779
تناسق الألوان
متمم +180°
- 0C283F
Midnight Ocean
- 382004
≈ Medium Roast
متجاور -30° +30°
- 0C283F
Midnight Ocean
- 002C35
≈ Black Chasm
- 1F2340
≈ Black Market
ثلاثي +120° +240°
- 0C283F
Midnight Ocean
- 3C1A22
≈ Bruised Plum
- 1F2B0A
≈ Lindworm Green
متمم منقسم +150° +210°
- 0C283F
Midnight Ocean
- 3C1B12
≈ Scorched
- 2E2601
≈ Black Swan
رباعي +90° +180° +270°
- 0C283F
Midnight Ocean
- 361B30
≈ Nightly Voyager
- 382004
≈ Medium Roast
- 092E1B
≈ Bush
التباين وإمكانية الوصول
Ag
AAAعلى الأبيض
WCAG 15.09:1 · APCA Lc 102
Ag
Failعلى الأسود
WCAG 1.39:1 · APCA Lc 0
أفضل لون للنص: #FFFFFF
WCAG 15.09:1 (AAA) · APCA Lc 102
Contrast pairs
مقتطفات الأكواد
CSS
:root {
--midnight-ocean: #0c283f;
--midnight-ocean-rgb: 12 40 63;
--midnight-ocean-oklch: oklch(0.268 0.055 246.6);
}
.element {
color: var(--midnight-ocean);
background-color: hsl(207 68% 15%);
border-color: oklch(0.268 0.055 246.6);
}Tailwind CSS v4
@theme {
--color-midnight-ocean: #0c283f;
--color-midnight-ocean-50: #eaf7ff;
--color-midnight-ocean-100: #daeafa;
--color-midnight-ocean-200: #c3d7eb;
--color-midnight-ocean-300: #a2bad3;
--color-midnight-ocean-400: #85a2bd;
--color-midnight-ocean-500: #698aa9;
--color-midnight-ocean-600: #59758f;
--color-midnight-ocean-700: #475d72;
--color-midnight-ocean-800: #324554;
--color-midnight-ocean-900: #222f3b;
--color-midnight-ocean-950: #111c25;
}SCSS
$midnight-ocean: #0c283f;
$midnight-ocean-rgb: 12, 40, 63;
$midnight-ocean-light: mix(#fff, $midnight-ocean, 20%);
$midnight-ocean-dark: mix(#000, $midnight-ocean, 20%);
.element {
color: $midnight-ocean;
box-shadow: 0 0 0 2px rgba($midnight-ocean, 0.35);
}