Nearest named color · #0A0C16
#0A0C16
Nearest named color: Narwhal Grey
#0A0C16 (rgb(10 12 22), hsl(230 38% 6%), oklch(0.158 0.022 275)) is closest to the named color Narwhal Grey. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#0A0C16
oklch(0.158 0.022 275)
Color conversions
- HEX
- #0a0c16
- RGB
- rgb(10 12 22)
- HSL
- hsl(230 38% 6%)
- HWB
- hwb(230 4% 91%)
- OKLCH
- oklch(0.158 0.022 275)
- OKLab
- oklab(0.158 0.002 -0.021)
- CIE Lab
- lab(3.43 0.91 -5.65)
- LCH
- lch(3.43 5.73 279.2)
- CMYK
- cmyk(55% 45% 0% 91%)
Tints · Shades · Tones
Tints
- 1D1F29
- 32343D
- 484A53
- 5F6169
- 787A81
- 919399
- ACADB1
- C7C8CB
- E3E3E5
Shades
- 070912
- 05060D
- 030409
- 020306
- 010203
- 010102
- 000001
- 000000
- 000000
Tones
- 14161F
- 1E2029
- 292B33
- 34363D
- 404248
- 4C4E53
- 595A5E
- 666669
- 737374
Color harmonies
Complementary +180°
- 0A0C16
Narwhal Grey
- 100D03
≈ Balsam of Peru
Analogous -30° +30°
- 0A0C16
Narwhal Grey
- 050E15
≈ Dark Rift
- 0F0A14
≈ Midnight Oil
Triadic +120° +240°
- 0A0C16
Narwhal Grey
- 150907
≈ Asphalt
- 060F09
≈ Alpine Salamander
Split-complementary +150° +210°
- 0A0C16
Narwhal Grey
- 130B04
≈ Asphalt
- 0B0E05
≈ Alpine Salamander
Tetradic +90° +180° +270°
- 0A0C16
Narwhal Grey
- 15090B
≈ Asphalt
- 100D03
≈ Balsam of Peru
- 03100E
≈ Black Glaze
Contrast & accessibility
Ag
AAAOn white
WCAG 19.49:1 · APCA Lc 106
Ag
FailOn black
WCAG 1.07:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 19.49:1 (AAA) · APCA Lc 106
Contrast pairs
Code snippets
CSS
:root {
--narwhal-grey: #0a0c16;
--narwhal-grey-rgb: 10 12 22;
--narwhal-grey-oklch: oklch(0.158 0.022 275);
}
.element {
color: var(--narwhal-grey);
background-color: hsl(230 38% 6%);
border-color: oklch(0.158 0.022 275);
}Tailwind CSS v4
@theme {
--color-narwhal-grey: #0a0c16;
--color-narwhal-grey-50: #f3f5fb;
--color-narwhal-grey-100: #e6e7ef;
--color-narwhal-grey-200: #d2d4de;
--color-narwhal-grey-300: #b4b7c3;
--color-narwhal-grey-400: #9a9eac;
--color-narwhal-grey-500: #828595;
--color-narwhal-grey-600: #6e717e;
--color-narwhal-grey-700: #585a65;
--color-narwhal-grey-800: #40424a;
--color-narwhal-grey-900: #2c2e33;
--color-narwhal-grey-950: #191a1f;
}SCSS
$narwhal-grey: #0a0c16;
$narwhal-grey-rgb: 10, 12, 22;
$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);
}