Màu có tên gần nhất · #2A3F4A
#2A3F4A
Màu có tên gần nhất: Depths of the Nile
#2A3F4A (rgb(42 63 74), hsl(201 28% 23%), oklch(0.355 0.033 231.7)) gần nhất với màu có tên Depths of the Nile. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.
#2A3F4A
oklch(0.355 0.033 231.7)
Chuyển đổi màu
- HEX
- #2a3f4a
- RGB
- rgb(42 63 74)
- HSL
- hsl(201 28% 23%)
- HWB
- hwb(201 16% 71%)
- OKLCH
- oklch(0.355 0.033 231.7)
- OKLab
- oklab(0.355 -0.02 -0.026)
- CIE Lab
- lab(25.24 -6.08 -9.52)
- LCH
- lch(25.24 11.29 237.4)
- CMYK
- cmyk(43% 15% 0% 71%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 3D505A
- 50626B
- 64747C
- 79868E
- 8E9AA0
- A4ADB2
- BAC1C5
- D0D5D8
- E7EAEB
Sắc đậm
- 23353F
- 1C2C35
- 16232A
- 101B20
- 0A1217
- 050A0E
- 020406
- 010102
- 000000
Sắc xám
- 32454F
- 3B4B55
- 43525A
- 4B585F
- 545F65
- 5D656A
- 656C6F
- 6E7375
- 77797A
Hòa sắc
Bổ túc +180°
- 2A3F4A
Depths of the Nile
- 4A372C
≈ Peat Moss
Tương đồng -30° +30°
- 2A3F4A
Depths of the Nile
- 264143
≈ Atlantic Waves
- 323C4D
≈ North Sea Blue
Bộ ba +120° +240°
- 2A3F4A
Depths of the Nile
- 4A353E
≈ Spell Caster
- 3C3E2A
≈ Green 383
Bổ túc chia +150° +210°
- 2A3F4A
Depths of the Nile
- 4C3534
≈ Chocolate Red
- 443A28
≈ Loam
Bộ bốn +90° +180° +270°
- 2A3F4A
Depths of the Nile
- 443646
≈ Wineshade
- 4A372C
≈ Peat Moss
- 324030
≈ Aged Pine
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 11.00:1 · APCA Lc 95
Ag
FailTrên nền đen
WCAG 1.90:1 · APCA Lc 0
Màu chữ tốt nhất: #FFFFFF
WCAG 11.00:1 (AAA) · APCA Lc 95
Contrast pairs
Đoạn mã
CSS
:root {
--depths-of-the-nile: #2a3f4a;
--depths-of-the-nile-rgb: 42 63 74;
--depths-of-the-nile-oklch: oklch(0.355 0.033 231.7);
}
.element {
color: var(--depths-of-the-nile);
background-color: hsl(201 28% 23%);
border-color: oklch(0.355 0.033 231.7);
}Tailwind CSS v4
@theme {
--color-depths-of-the-nile: #2a3f4a;
--color-depths-of-the-nile-50: #edf7fd;
--color-depths-of-the-nile-100: #deeaf1;
--color-depths-of-the-nile-200: #c7d7e0;
--color-depths-of-the-nile-300: #a8bbc6;
--color-depths-of-the-nile-400: #8ca2af;
--color-depths-of-the-nile-500: #718a98;
--color-depths-of-the-nile-600: #607581;
--color-depths-of-the-nile-700: #4c5e67;
--color-depths-of-the-nile-800: #37454c;
--color-depths-of-the-nile-900: #263034;
--color-depths-of-the-nile-950: #141c20;
}SCSS
$depths-of-the-nile: #2a3f4a;
$depths-of-the-nile-rgb: 42, 63, 74;
$depths-of-the-nile-light: mix(#fff, $depths-of-the-nile, 20%);
$depths-of-the-nile-dark: mix(#000, $depths-of-the-nile, 20%);
.element {
color: $depths-of-the-nile;
box-shadow: 0 0 0 2px rgba($depths-of-the-nile, 0.35);
}