Nearest named color · #1C0055
#1C0055
Nearest named color: Ravenclaw
#1C0055 (rgb(28 0 85), hsl(260 100% 17%), oklch(0.226 0.132 284.8)) is closest to the named color Ravenclaw. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1C0055
oklch(0.226 0.132 284.8)
Color conversions
- HEX
- #1c0055
- RGB
- rgb(28 0 85)
- HSL
- hsl(260 100% 17%)
- HWB
- hwb(260 0% 67%)
- OKLCH
- oklch(0.226 0.132 284.8)
- OKLab
- oklab(0.226 0.034 -0.128)
- CIE Lab
- lab(7.31 32.32 -45.56)
- LCH
- lch(7.31 55.86 305.3)
- CMYK
- cmyk(67% 100% 0% 67%)
Tints · Shades · Tones
Tints
- 2C1F66
- 3E3878
- 524F89
- 68679A
- 7F7FAB
- 9797BC
- B0B1CC
- CACADD
- E4E4EE
Shades
- 170049
- 12003D
- 0D0031
- 080026
- 05001C
- 020011
- 010008
- 000002
- 000000
Tones
- 23135A
- 2B2260
- 342E65
- 3D3A69
- 47466E
- 525172
- 5D5D76
- 686979
- 74747D
Color harmonies
Complementary +180°
- 1C0055
Ravenclaw
- 1F1D00
≈ Liquorice Root
Analogous -30° +30°
- 1C0055
Ravenclaw
- 001B3D
≈ Maastricht Blue
- 2E003E
≈ Dark Violet
Triadic +120° +240°
- 1C0055
Ravenclaw
- 330F00
≈ Chocolate Melange
- 002316
≈ Clock Chimes Thirteen
Split-complementary +150° +210°
- 1C0055
Ravenclaw
- 291800
≈ Cannon Black
- 0D2200
≈ Yuzu Soy
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.78:1 · APCA Lc 103
Ag
FailOn black
WCAG 1.18:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.78:1 (AAA) · APCA Lc 103
Contrast pairs
Code snippets
CSS
:root {
--ravenclaw: #1c0055;
--ravenclaw-rgb: 28 0 85;
--ravenclaw-oklch: oklch(0.226 0.132 284.8);
}
.element {
color: var(--ravenclaw);
background-color: hsl(260 100% 17%);
border-color: oklch(0.226 0.132 284.8);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #1c0055;
--color-ravenclaw-50: #f2f0ff;
--color-ravenclaw-100: #e4e2ff;
--color-ravenclaw-200: #cfccff;
--color-ravenclaw-300: #b2adf8;
--color-ravenclaw-400: #9692e9;
--color-ravenclaw-500: #7e77d9;
--color-ravenclaw-600: #6b65b7;
--color-ravenclaw-700: #555193;
--color-ravenclaw-800: #3c3b6e;
--color-ravenclaw-900: #29294e;
--color-ravenclaw-950: #171633;
}SCSS
$ravenclaw: #1c0055;
$ravenclaw-rgb: 28, 0, 85;
$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);
}