Nächste benannte Farbe · #040956
#040956
Nächste benannte Farbe: Ravenclaw
#040956 (rgb(4 9 86), hsl(236 91% 18%), oklch(0.22 0.131 266.5)) liegt am nächsten an der benannten Farbe Ravenclaw. Mit Tints, Shades, Harmonien, WCAG- & APCA-Kontrast sowie CSS-, Tailwind-v4- und SCSS-Code.
#040956
oklch(0.22 0.131 266.5)
Farbumrechnungen
- HEX
- #040956
- RGB
- rgb(4 9 86)
- HSL
- hsl(236 91% 18%)
- HWB
- hwb(236 2% 66%)
- OKLCH
- oklch(0.22 0.131 266.5)
- OKLab
- oklab(0.22 -0.008 -0.131)
- CIE Lab
- lab(7.11 24.92 -46.65)
- LCH
- lch(7.11 52.89 298.1)
- CMYK
- cmyk(95% 90% 0% 66%)
Tints · Shades · Tones
Tints
- 122567
- 283D79
- 3F548A
- 576B9B
- 7183AB
- 8C9BBC
- A7B3CD
- C4CCDE
- E1E5EE
Shades
- 03074A
- 02053E
- 010332
- 010227
- 00011C
- 000112
- 000008
- 000002
- 000000
Tones
- 0A1A5B
- 152760
- 203365
- 2D3E6A
- 3A496E
- 475472
- 555F76
- 636A7A
- 71757D
Farbharmonien
Komplementär +180°
- 040956
Ravenclaw
- 241900
≈ Cannon Black
Analog -30° +30°
- 040956
Ravenclaw
- 001D2E
≈ Oxford by Night
- 23004A
≈ Your Darkness
Triadisch +120° +240°
- 040956
Ravenclaw
- 3A0002
≈ Dark Maroon
- 002206
≈ Rainforest Nights
Geteilt komplementär +150° +210°
- 040956
Ravenclaw
- 2D1300
≈ Shadow Play
- 191D00
≈ Yuzu Soy
Tetradisch +90° +180° +270°
Kontrast & Barrierefreiheit
Ag
AAAAuf Weiß
WCAG 17.81:1 · APCA Lc 104
Ag
FailAuf Schwarz
WCAG 1.17:1 · APCA Lc 0
Beste Textfarbe: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 104
Contrast pairs
Code-Snippets
CSS
:root {
--ravenclaw: #040956;
--ravenclaw-rgb: 4 9 86;
--ravenclaw-oklch: oklch(0.22 0.131 266.5);
}
.element {
color: var(--ravenclaw);
background-color: hsl(236 91% 18%);
border-color: oklch(0.22 0.131 266.5);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #040956;
--color-ravenclaw-50: #e5f5ff;
--color-ravenclaw-100: #d5e7ff;
--color-ravenclaw-200: #bdd3ff;
--color-ravenclaw-300: #9bb5fb;
--color-ravenclaw-400: #7b9bec;
--color-ravenclaw-500: #5e81dd;
--color-ravenclaw-600: #506dba;
--color-ravenclaw-700: #405796;
--color-ravenclaw-800: #2b4070;
--color-ravenclaw-900: #1d2c4f;
--color-ravenclaw-950: #0d1934;
}SCSS
$ravenclaw: #040956;
$ravenclaw-rgb: 4, 9, 86;
$ravenclaw-light: mix(#fff, $ravenclaw, 20%);
$ravenclaw-dark: mix(#000, $ravenclaw, 20%);
.element {
color: $ravenclaw;
box-shadow: 0 0 0 2px rgba($ravenclaw, 0.35);
}