Nearest named color · #0B0C17
#0B0C17
Nearest named color: Narwhal Grey
#0B0C17 (rgb(11 12 23), hsl(235 35% 7%), oklch(0.159 0.023 279.4)) is closest to the named color Narwhal Grey. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#0B0C17
oklch(0.159 0.023 279.4)
Color conversions
- HEX
- #0b0c17
- RGB
- rgb(11 12 23)
- HSL
- hsl(235 35% 7%)
- HWB
- hwb(235 4% 91%)
- OKLCH
- oklch(0.159 0.023 279.4)
- OKLab
- oklab(0.159 0.004 -0.023)
- CIE Lab
- lab(3.52 1.38 -6.24)
- LCH
- lch(3.52 6.39 282.4)
- CMYK
- cmyk(52% 48% 0% 91%)
Tints · Shades · Tones
Tints
- 1E1F2A
- 33343E
- 494A54
- 60616A
- 787A81
- 929399
- ACADB2
- C7C8CB
- E3E3E5
Shades
- 080912
- 06060E
- 04040A
- 020306
- 010204
- 010102
- 000001
- 000000
- 000000
Tones
- 151620
- 1F202A
- 2A2B34
- 35363E
- 414249
- 4D4E53
- 595A5E
- 666669
- 737375
Color harmonies
Complementary +180°
- 0B0C17
Narwhal Grey
- 100D03
≈ Balsam of Peru
Analogous -30° +30°
- 0B0C17
Narwhal Grey
- 060E17
≈ Midnight Oil
- 100A15
≈ Midnight Oil
Triadic +120° +240°
- 0B0C17
Narwhal Grey
- 160A06
≈ Asphalt
- 05100A
≈ Alpine Salamander
Split-complementary +150° +210°
- 0B0C17
Narwhal Grey
- 140B03
≈ Balsamico
- 0A0F05
≈ Alpine Salamander
Tetradic +90° +180° +270°
- 0B0C17
Narwhal Grey
- 16090B
≈ Optophobia
- 100D03
≈ Balsam of Peru
- 02100F
≈ Black Glaze
Contrast & accessibility
Ag
AAAOn white
WCAG 19.45:1 · APCA Lc 106
Ag
FailOn black
WCAG 1.07:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 19.45:1 (AAA) · APCA Lc 106
Contrast pairs
Code snippets
CSS
:root {
--narwhal-grey: #0b0c17;
--narwhal-grey-rgb: 11 12 23;
--narwhal-grey-oklch: oklch(0.159 0.023 279.4);
}
.element {
color: var(--narwhal-grey);
background-color: hsl(235 35% 7%);
border-color: oklch(0.159 0.023 279.4);
}Tailwind CSS v4
@theme {
--color-narwhal-grey: #0b0c17;
--color-narwhal-grey-50: #f4f4fc;
--color-narwhal-grey-100: #e6e7f0;
--color-narwhal-grey-200: #d2d3de;
--color-narwhal-grey-300: #b5b6c3;
--color-narwhal-grey-400: #9b9dac;
--color-narwhal-grey-500: #838596;
--color-narwhal-grey-600: #6e707f;
--color-narwhal-grey-700: #585a65;
--color-narwhal-grey-800: #40424b;
--color-narwhal-grey-900: #2c2d34;
--color-narwhal-grey-950: #191a1f;
}SCSS
$narwhal-grey: #0b0c17;
$narwhal-grey-rgb: 11, 12, 23;
$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);
}