Nearest named color · #190451
#190451
Nearest named color: Ravenclaw
#190451 (rgb(25 4 81), hsl(256 91% 17%), oklch(0.222 0.124 282.8)) is closest to the named color Ravenclaw. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#190451
oklch(0.222 0.124 282.8)
Color conversions
- HEX
- #190451
- RGB
- rgb(25 4 81)
- HSL
- hsl(256 91% 17%)
- HWB
- hwb(256 2% 68%)
- OKLCH
- oklch(0.222 0.124 282.8)
- OKLab
- oklab(0.222 0.027 -0.121)
- CIE Lab
- lab(7.25 28.59 -42.94)
- LCH
- lch(7.25 51.59 303.7)
- CMYK
- cmyk(69% 95% 0% 68%)
Tints · Shades · Tones
Tints
- 292163
- 3B3974
- 505085
- 666797
- 7E7FA8
- 9698B9
- AFB1CB
- C9CADC
- E4E4EE
Shades
- 140345
- 10023A
- 0B012F
- 070124
- 04011A
- 020010
- 010007
- 000002
- 000000
Tones
- 201557
- 28235C
- 312F62
- 3B3B67
- 46466B
- 515270
- 5C5D74
- 686978
- 74747C
Color harmonies
Complementary +180°
- 190451
Ravenclaw
- 1F1C00
≈ Liquorice Root
Analogous -30° +30°
- 190451
Ravenclaw
- 001B39
≈ Naval Night
- 2C003E
≈ Midnight Purple
Triadic +120° +240°
- 190451
Ravenclaw
- 330D00
≈ Chocolate Melange
- 002214
≈ Clock Chimes Thirteen
Split-complementary +150° +210°
- 190451
Ravenclaw
- 281700
≈ Cannon Black
- 0F2100
≈ Yuzu Soy
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.83:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.83:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--ravenclaw: #190451;
--ravenclaw-rgb: 25 4 81;
--ravenclaw-oklch: oklch(0.222 0.124 282.8);
}
.element {
color: var(--ravenclaw);
background-color: hsl(256 91% 17%);
border-color: oklch(0.222 0.124 282.8);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #190451;
--color-ravenclaw-50: #f1f1ff;
--color-ravenclaw-100: #e3e3ff;
--color-ravenclaw-200: #ceceff;
--color-ravenclaw-300: #b0aff5;
--color-ravenclaw-400: #9494e5;
--color-ravenclaw-500: #7b79d5;
--color-ravenclaw-600: #6967b4;
--color-ravenclaw-700: #535290;
--color-ravenclaw-800: #3b3c6c;
--color-ravenclaw-900: #28294c;
--color-ravenclaw-950: #171732;
}SCSS
$ravenclaw: #190451;
$ravenclaw-rgb: 25, 4, 81;
$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);
}