Nearest named color · #1C044F
#1C044F
Nearest named color: Silent Twilight
#1C044F (rgb(28 4 79), hsl(259 90% 16%), oklch(0.223 0.121 286.3)) is closest to the named color Silent Twilight. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1C044F
oklch(0.223 0.121 286.3)
Color conversions
- HEX
- #1c044f
- RGB
- rgb(28 4 79)
- HSL
- hsl(259 90% 16%)
- HWB
- hwb(259 2% 69%)
- OKLCH
- oklch(0.223 0.121 286.3)
- OKLab
- oklab(0.223 0.034 -0.116)
- CIE Lab
- lab(7.4 28.54 -41.29)
- LCH
- lch(7.4 50.19 304.7)
- CMYK
- cmyk(65% 95% 0% 69%)
Tints · Shades · Tones
Tints
- 2C2061
- 3F3872
- 534F84
- 696795
- 807FA7
- 9897B8
- B1B0CA
- CACADC
- E4E4ED
Shades
- 170344
- 120238
- 0D012E
- 080123
- 050119
- 020010
- 010007
- 000002
- 000000
Tones
- 231555
- 2B225B
- 342F60
- 3E3A65
- 48466A
- 53516F
- 5D5D74
- 696878
- 74747C
Color harmonies
Complementary +180°
- 1C044F
Silent Twilight
- 1E1C00
≈ Liquorice Root
Analogous -30° +30°
- 1C044F
Silent Twilight
- 001A3E
≈ Maastricht Blue
- 2E003C
≈ Dark Violet
Triadic +120° +240°
- 1C044F
Silent Twilight
- 320F00
≈ Chocolate Melange
- 002216
≈ Clock Chimes Thirteen
Split-complementary +150° +210°
- 1C044F
Silent Twilight
- 271800
≈ Cannon Black
- 0B2200
≈ Yuzu Soy
Tetradic +90° +180° +270°
- 1C044F
Silent Twilight
- 3B000C
≈ Dark Maroon
- 1E1C00
≈ Liquorice Root
- 002121
≈ Stellar Explorer
Contrast & accessibility
Ag
AAAOn white
WCAG 17.80:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.80:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--silent-twilight: #1c044f;
--silent-twilight-rgb: 28 4 79;
--silent-twilight-oklch: oklch(0.223 0.121 286.3);
}
.element {
color: var(--silent-twilight);
background-color: hsl(259 90% 16%);
border-color: oklch(0.223 0.121 286.3);
}Tailwind CSS v4
@theme {
--color-silent-twilight: #1c044f;
--color-silent-twilight-50: #f3f0ff;
--color-silent-twilight-100: #e5e2ff;
--color-silent-twilight-200: #d1cdff;
--color-silent-twilight-300: #b4aef2;
--color-silent-twilight-400: #9993e2;
--color-silent-twilight-500: #8178d2;
--color-silent-twilight-600: #6d66b1;
--color-silent-twilight-700: #57518e;
--color-silent-twilight-800: #3e3c6a;
--color-silent-twilight-900: #2b294b;
--color-silent-twilight-950: #181631;
}SCSS
$silent-twilight: #1c044f;
$silent-twilight-rgb: 28, 4, 79;
$silent-twilight-light: mix(#fff, $silent-twilight, 20%);
$silent-twilight-dark: mix(#000, $silent-twilight, 20%);
.element {
color: $silent-twilight;
box-shadow: 0 0 0 2px rgba($silent-twilight, 0.35);
}