Nearest named color · #060B53
#060B53
Nearest named color: Ravenclaw
#060B53 (rgb(6 11 83), hsl(236 87% 17%), oklch(0.22 0.125 267.7)) is closest to the named color Ravenclaw. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#060B53
oklch(0.22 0.125 267.7)
Color conversions
- HEX
- #060b53
- RGB
- rgb(6 11 83)
- HSL
- hsl(236 87% 17%)
- HWB
- hwb(236 2% 67%)
- OKLCH
- oklch(0.22 0.125 267.7)
- OKLab
- oklab(0.22 -0.005 -0.125)
- CIE Lab
- lab(7.27 23 -44.33)
- LCH
- lch(7.27 49.94 297.4)
- CMYK
- cmyk(93% 87% 0% 67%)
Tints · Shades · Tones
Tints
- 152664
- 2A3D76
- 415487
- 596B98
- 7382A9
- 8D9ABB
- A8B3CC
- C5CCDD
- E1E5EE
Shades
- 040847
- 03063B
- 020430
- 010225
- 01011B
- 000111
- 000008
- 000002
- 000000
Tones
- 0D1B59
- 17275E
- 233363
- 2F3E68
- 3C496D
- 495471
- 565F75
- 646A79
- 72757D
Color harmonies
Complementary +180°
- 060B53
Ravenclaw
- 231900
≈ Cannon Black
Analogous -30° +30°
- 060B53
Ravenclaw
- 001D2E
≈ Oxford by Night
- 240049
≈ Your Darkness
Triadic +120° +240°
- 060B53
Ravenclaw
- 3A0001
≈ Dark Maroon
- 002207
≈ Rainforest Nights
Split-complementary +150° +210°
- 060B53
Ravenclaw
- 2C1300
≈ Shadow Play
- 191D00
≈ Yuzu Soy
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.78:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.18:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.78:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--ravenclaw: #060b53;
--ravenclaw-rgb: 6 11 83;
--ravenclaw-oklch: oklch(0.22 0.125 267.7);
}
.element {
color: var(--ravenclaw);
background-color: hsl(236 87% 17%);
border-color: oklch(0.22 0.125 267.7);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #060b53;
--color-ravenclaw-50: #e7f4ff;
--color-ravenclaw-100: #d7e7ff;
--color-ravenclaw-200: #bfd3ff;
--color-ravenclaw-300: #9eb5f8;
--color-ravenclaw-400: #7e9be8;
--color-ravenclaw-500: #6281d9;
--color-ravenclaw-600: #536db7;
--color-ravenclaw-700: #425793;
--color-ravenclaw-800: #2e406d;
--color-ravenclaw-900: #1f2c4d;
--color-ravenclaw-950: #0f1933;
}SCSS
$ravenclaw: #060b53;
$ravenclaw-rgb: 6, 11, 83;
$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);
}