Warna bernama terdekat · #0D025C
#0D025C
Warna bernama terdekat: Ravenclaw
#0D025C (rgb(13 2 92), hsl(247 96% 18%), oklch(0.225 0.142 271.4)) paling mendekati warna bernama Ravenclaw. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#0D025C
oklch(0.225 0.142 271.4)
Konversi warna
- HEX
- #0d025c
- RGB
- rgb(13 2 92)
- HSL
- hsl(247 96% 18%)
- HWB
- hwb(247 1% 64%)
- OKLCH
- oklch(0.225 0.142 271.4)
- OKLab
- oklab(0.225 0.003 -0.142)
- CIE Lab
- lab(7.06 31.49 -50.77)
- LCH
- lch(7.06 59.75 301.8)
- CMYK
- cmyk(86% 98% 0% 64%)
Tint · Shade · Tone
Tint
- 1A236D
- 2E3B7E
- 44538E
- 5B6A9F
- 7482AF
- 8E9ABF
- A9B3CF
- C5CCDF
- E2E5EF
Shade
- 0A014F
- 070142
- 050136
- 03002A
- 02001F
- 010014
- 00000A
- 000003
- 000000
Tone
- 131661
- 1B2566
- 26316A
- 313D6E
- 3D4872
- 4A5475
- 575F78
- 646A7B
- 72757E
Harmoni warna
Komplementer +180°
- 0D025C
Ravenclaw
- 241B00
≈ Cannon Black
Analog -30° +30°
- 0D025C
Ravenclaw
- 001E32
≈ Cyanophobia
- 270048
≈ Your Darkness
Triadik +120° +240°
- 0D025C
Ravenclaw
- 3B0300
≈ Biltong
- 00230C
≈ Clock Chimes Thirteen
Split-komplementer +150° +210°
- 0D025C
Ravenclaw
- 2D1500
≈ Shadow Play
- 181F00
≈ Yuzu Soy
Tetradik +90° +180° +270°
Kontras & aksesibilitas
Ag
AAADi atas putih
WCAG 17.79:1 · APCA Lc 103
Ag
FailDi atas hitam
WCAG 1.18:1 · APCA Lc 0
Warna teks terbaik: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 103
Contrast pairs
Cuplikan kode
CSS
:root {
--ravenclaw: #0d025c;
--ravenclaw-rgb: 13 2 92;
--ravenclaw-oklch: oklch(0.225 0.142 271.4);
}
.element {
color: var(--ravenclaw);
background-color: hsl(247 96% 18%);
border-color: oklch(0.225 0.142 271.4);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #0d025c;
--color-ravenclaw-50: #e7f3ff;
--color-ravenclaw-100: #d8e6ff;
--color-ravenclaw-200: #c0d1ff;
--color-ravenclaw-300: #a0b2ff;
--color-ravenclaw-400: #8098f2;
--color-ravenclaw-500: #657de3;
--color-ravenclaw-600: #566ac0;
--color-ravenclaw-700: #44559a;
--color-ravenclaw-800: #2f3e73;
--color-ravenclaw-900: #202b51;
--color-ravenclaw-950: #101836;
}SCSS
$ravenclaw: #0d025c;
$ravenclaw-rgb: 13, 2, 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);
}