Nächste benannte Farbe · #040C52
#040C52
Nächste benannte Farbe: Interstellar Blue
#040C52 (rgb(4 12 82), hsl(234 91% 17%), oklch(0.219 0.123 266.4)) liegt am nächsten an der benannten Farbe Interstellar Blue. Mit Tints, Shades, Harmonien, WCAG- & APCA-Kontrast sowie CSS-, Tailwind-v4- und SCSS-Code.
#040C52
oklch(0.219 0.123 266.4)
Farbumrechnungen
- HEX
- #040c52
- RGB
- rgb(4 12 82)
- HSL
- hsl(234 91% 17%)
- HWB
- hwb(234 2% 68%)
- OKLCH
- oklch(0.219 0.123 266.4)
- OKLab
- oklab(0.219 -0.008 -0.123)
- CIE Lab
- lab(7.25 21.83 -43.69)
- LCH
- lch(7.25 48.84 296.6)
- CMYK
- cmyk(95% 85% 0% 68%)
Tints · Shades · Tones
Tints
- 132664
- 293D75
- 405486
- 586B98
- 7283A9
- 8D9ABA
- A8B3CB
- C4CCDC
- E1E5EE
Shades
- 030946
- 02063B
- 01042F
- 010325
- 00021A
- 000111
- 000008
- 000002
- 000000
Tones
- 0B1B58
- 16285D
- 223362
- 2E3E67
- 3B496C
- 485470
- 555F75
- 636A79
- 72757C
Farbharmonien
Komplementär +180°
- 040C52
Interstellar Blue
- 231900
≈ Cannon Black
Analog -30° +30°
- 040C52
Interstellar Blue
- 001D2D
≈ Oxford by Night
- 230049
≈ Your Darkness
Triadisch +120° +240°
- 040C52
Interstellar Blue
- 3A0002
≈ Dark Maroon
- 002205
≈ Rainforest Nights
Geteilt komplementär +150° +210°
- 040C52
Interstellar Blue
- 2C1300
≈ Shadow Play
- 191D00
≈ Yuzu Soy
Tetradisch +90° +180° +270°
- 040C52
Interstellar Blue
- 37001B
≈ Rhodophobia
- 231900
≈ Cannon Black
- 00201A
≈ Stellar Explorer
Kontrast & Barrierefreiheit
Ag
AAAAuf Weiß
WCAG 17.80:1 · APCA Lc 104
Ag
FailAuf Schwarz
WCAG 1.17:1 · APCA Lc 0
Beste Textfarbe: #FFFFFF
WCAG 17.80:1 (AAA) · APCA Lc 104
Contrast pairs
Code-Snippets
CSS
:root {
--interstellar-blue: #040c52;
--interstellar-blue-rgb: 4 12 82;
--interstellar-blue-oklch: oklch(0.219 0.123 266.4);
}
.element {
color: var(--interstellar-blue);
background-color: hsl(234 91% 17%);
border-color: oklch(0.219 0.123 266.4);
}Tailwind CSS v4
@theme {
--color-interstellar-blue: #040c52;
--color-interstellar-blue-50: #e6f5ff;
--color-interstellar-blue-100: #d6e7ff;
--color-interstellar-blue-200: #bed3ff;
--color-interstellar-blue-300: #9db5f7;
--color-interstellar-blue-400: #7d9ce8;
--color-interstellar-blue-500: #6082d8;
--color-interstellar-blue-600: #526eb6;
--color-interstellar-blue-700: #415892;
--color-interstellar-blue-800: #2d416d;
--color-interstellar-blue-900: #1e2d4d;
--color-interstellar-blue-950: #0e1933;
}SCSS
$interstellar-blue: #040c52;
$interstellar-blue-rgb: 4, 12, 82;
$interstellar-blue-light: mix(#fff, $interstellar-blue, 20%);
$interstellar-blue-dark: mix(#000, $interstellar-blue, 20%);
.element {
color: $interstellar-blue;
box-shadow: 0 0 0 2px rgba($interstellar-blue, 0.35);
}