Nächste benannte Farbe · #02055C
#02055C
Nächste benannte Farbe: Ravenclaw
#02055C (rgb(2 5 92), hsl(238 96% 18%), oklch(0.223 0.143 265.3)) liegt am nächsten an der benannten Farbe Ravenclaw. Mit Tints, Shades, Harmonien, WCAG- & APCA-Kontrast sowie CSS-, Tailwind-v4- und SCSS-Code.
#02055C
oklch(0.223 0.143 265.3)
Farbumrechnungen
- HEX
- #02055c
- RGB
- rgb(2 5 92)
- HSL
- hsl(238 96% 18%)
- HWB
- hwb(238 1% 64%)
- OKLCH
- oklch(0.223 0.143 265.3)
- OKLab
- oklab(0.223 -0.012 -0.143)
- CIE Lab
- lab(6.97 28.97 -50.96)
- LCH
- lch(6.97 58.62 299.6)
- CMYK
- cmyk(98% 95% 0% 64%)
Tints · Shades · Tones
Tints
- 0E256D
- 243D7E
- 3B548F
- 556B9F
- 6F83AF
- 8A9BBF
- A6B3CF
- C3CCDF
- E1E5EF
Shades
- 01044F
- 010342
- 010236
- 00012A
- 00011F
- 000014
- 00000A
- 000003
- 000000
Tones
- 061961
- 112666
- 1D336A
- 2A3E6E
- 384972
- 465475
- 545F78
- 626A7B
- 71757E
Farbharmonien
Komplementär +180°
- 02055C
Ravenclaw
- 251900
≈ Cannon Black
Analog -30° +30°
- 02055C
Ravenclaw
- 001E2E
≈ Cyanophobia
- 23004C
≈ Your Darkness
Triadisch +120° +240°
- 02055C
Ravenclaw
- 3B0003
≈ Dark Maroon
- 002304
≈ Rainforest Nights
Geteilt komplementär +150° +210°
- 02055C
Ravenclaw
- 2E1300
≈ Shadow Play
- 1A1E00
≈ Yuzu Soy
Tetradisch +90° +180° +270°
Kontrast & Barrierefreiheit
Ag
AAAAuf Weiß
WCAG 17.81:1 · APCA Lc 103
Ag
FailAuf Schwarz
WCAG 1.17:1 · APCA Lc 0
Beste Textfarbe: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 103
Contrast pairs
Code-Snippets
CSS
:root {
--ravenclaw: #02055c;
--ravenclaw-rgb: 2 5 92;
--ravenclaw-oklch: oklch(0.223 0.143 265.3);
}
.element {
color: var(--ravenclaw);
background-color: hsl(238 96% 18%);
border-color: oklch(0.223 0.143 265.3);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #02055c;
--color-ravenclaw-50: #e3f5ff;
--color-ravenclaw-100: #d3e7ff;
--color-ravenclaw-200: #b9d3ff;
--color-ravenclaw-300: #97b5ff;
--color-ravenclaw-400: #759bf3;
--color-ravenclaw-500: #5780e4;
--color-ravenclaw-600: #4a6dc0;
--color-ravenclaw-700: #3b579b;
--color-ravenclaw-800: #274073;
--color-ravenclaw-900: #1a2c51;
--color-ravenclaw-950: #0b1936;
}SCSS
$ravenclaw: #02055c;
$ravenclaw-rgb: 2, 5, 92;
$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);
}