Nearest named color · #0F0811
#0F0811
Nearest named color: Narwhal Grey
#0F0811 (rgb(15 8 17), hsl(287 36% 5%), oklch(0.149 0.022 318.7)) is closest to the named color Narwhal Grey. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#0F0811
oklch(0.149 0.022 318.7)
Color conversions
- HEX
- #0f0811
- RGB
- rgb(15 8 17)
- HSL
- hsl(287 36% 5%)
- HWB
- hwb(287 3% 93%)
- OKLCH
- oklch(0.149 0.022 318.7)
- OKLab
- oklab(0.149 0.017 -0.015)
- CIE Lab
- lab(2.84 3.19 -3.23)
- LCH
- lch(2.84 4.54 314.6)
- CMYK
- cmyk(12% 53% 0% 93%)
Tints · Shades · Tones
Tints
- 221B24
- 373039
- 4D464E
- 645E65
- 7C777D
- 949096
- AEABAF
- C8C6C9
- E3E2E4
Shades
- 0B060D
- 080409
- 050306
- 030204
- 020102
- 010101
- 000000
- 000000
- 000000
Tones
- 19121B
- 231C25
- 2D282F
- 38333A
- 443F45
- 4F4B50
- 5B585C
- 676568
- 737274
Color harmonies
Complementary +180°
- 0F0811
Narwhal Grey
- 070D05
≈ Whiten’t
Analogous -30° +30°
- 0F0811
Narwhal Grey
- 0B0914
≈ Narwhal Grey
- 12070C
≈ Chyornyi Black
Triadic +120° +240°
- 0F0811
Narwhal Grey
- 100A02
≈ Blackout
- 010E0E
≈ Black Glaze
Split-complementary +150° +210°
- 0F0811
Narwhal Grey
- 0C0C03
≈ Whiten’t
- 030E09
≈ Alpine Salamander
Tetradic +90° +180° +270°
- 0F0811
Narwhal Grey
- 130804
≈ Asphalt
- 070D05
≈ Whiten’t
- 020D12
≈ Black Knight
Contrast & accessibility
Ag
AAAOn white
WCAG 19.75:1 · APCA Lc 106
Ag
FailOn black
WCAG 1.06:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 19.75:1 (AAA) · APCA Lc 106
Contrast pairs
Code snippets
CSS
:root {
--narwhal-grey: #0f0811;
--narwhal-grey-rgb: 15 8 17;
--narwhal-grey-oklch: oklch(0.149 0.022 318.7);
}
.element {
color: var(--narwhal-grey);
background-color: hsl(287 36% 5%);
border-color: oklch(0.149 0.022 318.7);
}Tailwind CSS v4
@theme {
--color-narwhal-grey: #0f0811;
--color-narwhal-grey-50: #f8f3f9;
--color-narwhal-grey-100: #ebe6ec;
--color-narwhal-grey-200: #d9d1da;
--color-narwhal-grey-300: #bdb4be;
--color-narwhal-grey-400: #a49aa7;
--color-narwhal-grey-500: #8d8290;
--color-narwhal-grey-600: #776e7a;
--color-narwhal-grey-700: #5f5861;
--color-narwhal-grey-800: #464048;
--color-narwhal-grey-900: #302c32;
--color-narwhal-grey-950: #1c191e;
}SCSS
$narwhal-grey: #0f0811;
$narwhal-grey-rgb: 15, 8, 17;
$narwhal-grey-light: mix(#fff, $narwhal-grey, 20%);
$narwhal-grey-dark: mix(#000, $narwhal-grey, 20%);
.element {
color: $narwhal-grey;
box-shadow: 0 0 0 2px rgba($narwhal-grey, 0.35);
}