Warna bernama terdekat · #2E37A9
#2E37A9
Warna bernama terdekat: Depths of Night
#2E37A9 (rgb(46 55 169), hsl(236 57% 42%), oklch(0.41 0.179 272)) paling mendekati warna bernama Depths of Night. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#2E37A9
oklch(0.41 0.179 272)
Konversi warna
- HEX
- #2e37a9
- RGB
- rgb(46 55 169)
- HSL
- hsl(236 57% 42%)
- HWB
- hwb(236 18% 34%)
- OKLCH
- oklch(0.41 0.179 272)
- OKLab
- oklab(0.41 0.006 -0.179)
- CIE Lab
- lab(28.78 28.11 -63.52)
- LCH
- lch(28.78 69.46 293.9)
- CMYK
- cmyk(73% 67% 0% 34%)
Tint · Shade · Tone
Tint
- 3E4DB3
- 4F62BD
- 6376C6
- 7789D0
- 8C9DD8
- A2B0E1
- B8C4E9
- CFD7F1
- E7EBF8
Shade
- 272E92
- 1F267C
- 181E67
- 121653
- 0B0F3F
- 06082C
- 02031B
- 01010A
- 000001
Tone
- 3441A6
- 3B4AA3
- 42529F
- 4A5A9C
- 536198
- 5B6794
- 646E8F
- 6D748B
- 777A86
Harmoni warna
Komplementer +180°
- 2E37A9
Depths of Night
- 5B4800
≈ Mud Brown
Analog -30° +30°
- 2E37A9
Depths of Night
- 004F7A
≈ Sea Paint
- 5E2298
≈ Wild Violet
Triadik +120° +240°
- 2E37A9
Depths of Night
- 8B1400
≈ Red Leever
- 005A2B
≈ Sombre Green
Split-komplementer +150° +210°
- 2E37A9
Depths of Night
- 6E3C00
≈ Philippine Bronze
- 425200
≈ Highlands Moss
Tetradik +90° +180° +270°
- 2E37A9
Depths of Night
- 8A0043
≈ Midnight Merlot
- 5B4800
≈ Mud Brown
- 00574D
≈ Castleton Green
Kontras & aksesibilitas
Ag
AAADi atas putih
WCAG 9.39:1 · APCA Lc 91
Ag
FailDi atas hitam
WCAG 2.23:1 · APCA Lc 11
Warna teks terbaik: #FFFFFF
WCAG 9.39:1 (AAA) · APCA Lc 91
Contrast pairs
Cuplikan kode
CSS
:root {
--depths-of-night: #2e37a9;
--depths-of-night-rgb: 46 55 169;
--depths-of-night-oklch: oklch(0.41 0.179 272);
}
.element {
color: var(--depths-of-night);
background-color: hsl(236 57% 42%);
border-color: oklch(0.41 0.179 272);
}Tailwind CSS v4
@theme {
--color-depths-of-night: #2e37a9;
--color-depths-of-night-50: #e5f2ff;
--color-depths-of-night-100: #d5e4ff;
--color-depths-of-night-200: #bccfff;
--color-depths-of-night-300: #9bafff;
--color-depths-of-night-400: #7b94ff;
--color-depths-of-night-500: #6076fb;
--color-depths-of-night-600: #5165d3;
--color-depths-of-night-700: #4051aa;
--color-depths-of-night-800: #2b3b7f;
--color-depths-of-night-900: #1d295a;
--color-depths-of-night-950: #0e163d;
}SCSS
$depths-of-night: #2e37a9;
$depths-of-night-rgb: 46, 55, 169;
$depths-of-night-light: mix(#fff, $depths-of-night, 20%);
$depths-of-night-dark: mix(#000, $depths-of-night, 20%);
.element {
color: $depths-of-night;
box-shadow: 0 0 0 2px rgba($depths-of-night, 0.35);
}