Couleur nommée la plus proche · #050758
#050758
Couleur nommée la plus proche: Ravenclaw
#050758 (rgb(5 7 88), hsl(239 89% 18%), oklch(0.221 0.135 267.1)) est la plus proche de la couleur nommée Ravenclaw. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#050758
oklch(0.221 0.135 267.1)
Conversions de couleur
- HEX
- #050758
- RGB
- rgb(5 7 88)
- HSL
- hsl(239 89% 18%)
- HWB
- hwb(239 2% 65%)
- OKLCH
- oklch(0.221 0.135 267.1)
- OKLab
- oklab(0.221 -0.007 -0.135)
- CIE Lab
- lab(7.02 26.79 -48.15)
- LCH
- lch(7.02 55.1 299.1)
- CMYK
- cmyk(94% 92% 0% 65%)
Teintes · Ombres · Tons
Teintes
- 132569
- 283D7A
- 3F548B
- 576B9C
- 7182AD
- 8C9ABD
- A7B3CE
- C4CCDE
- E1E5EF
Ombres
- 04054B
- 03043F
- 020233
- 010228
- 01011D
- 000012
- 000009
- 000003
- 000000
Tons
- 0B195D
- 152662
- 213267
- 2D3E6B
- 3A496F
- 475473
- 555F77
- 636A7A
- 71757D
Harmonies de couleurs
Complémentaire +180°
- 050758
Ravenclaw
- 241900
≈ Cannon Black
Analogue -30° +30°
- 050758
Ravenclaw
- 001E2E
≈ Cyanophobia
- 24004A
≈ Your Darkness
Triadique +120° +240°
- 050758
Ravenclaw
- 3B0002
≈ Dark Maroon
- 002206
≈ Rainforest Nights
Complémentaire divisée +150° +210°
- 050758
Ravenclaw
- 2D1300
≈ Shadow Play
- 191E00
≈ Yuzu Soy
Tétradique +90° +180° +270°
Contraste et accessibilité
Ag
AAASur blanc
WCAG 17.83:1 · APCA Lc 104
Ag
FailSur noir
WCAG 1.17:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 17.83:1 (AAA) · APCA Lc 104
Contrast pairs
Extraits de code
CSS
:root {
--ravenclaw: #050758;
--ravenclaw-rgb: 5 7 88;
--ravenclaw-oklch: oklch(0.221 0.135 267.1);
}
.element {
color: var(--ravenclaw);
background-color: hsl(239 89% 18%);
border-color: oklch(0.221 0.135 267.1);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #050758;
--color-ravenclaw-50: #e5f4ff;
--color-ravenclaw-100: #d5e7ff;
--color-ravenclaw-200: #bdd2ff;
--color-ravenclaw-300: #9bb4fd;
--color-ravenclaw-400: #7b9bee;
--color-ravenclaw-500: #5e80df;
--color-ravenclaw-600: #506dbc;
--color-ravenclaw-700: #3f5797;
--color-ravenclaw-800: #2b4071;
--color-ravenclaw-900: #1d2c50;
--color-ravenclaw-950: #0d1935;
}SCSS
$ravenclaw: #050758;
$ravenclaw-rgb: 5, 7, 88;
$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);
}