Nearest named color · #0A0A0F
#0A0A0F
Nearest named color: Eight Ball
#0A0A0F (rgb(10 10 15), hsl(240 20% 5%), oklch(0.147 0.011 285)) is closest to the named color Eight Ball. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#0A0A0F
oklch(0.147 0.011 285)
Color conversions
- HEX
- #0a0a0f
- RGB
- rgb(10 10 15)
- HSL
- hsl(240 20% 5%)
- HWB
- hwb(240 4% 94%)
- OKLCH
- oklch(0.147 0.011 285)
- OKLab
- oklab(0.147 0.003 -0.01)
- CIE Lab
- lab(2.84 0.6 -2.18)
- LCH
- lch(2.84 2.26 285.2)
- CMYK
- cmyk(33% 33% 0% 94%)
Tints · Shades · Tones
Tints
- 1D1D22
- 323237
- 48484D
- 5F5F64
- 78787C
- 919194
- ACACAE
- C7C7C8
- E3E3E3
Shades
- 07070B
- 050508
- 030305
- 020203
- 010102
- 010101
- 000000
- 000000
- 000000
Tones
- 141419
- 1E1E23
- 29292D
- 343538
- 404043
- 4C4C4F
- 59595B
- 666667
- 737373
Color harmonies
Complementary +180°
- 0A0A0F
Eight Ball
- 0B0B06
≈ Badab Black Wash
Analogous -30° +30°
- 0A0A0F
Eight Ball
- 080B0F
≈ Raven
- 0C090E
≈ Chyornyi Black
Triadic +120° +240°
- 0A0A0F
Eight Ball
- 0F0907
≈ Chyornyi Black
- 070C09
≈ Dark Side of the Moon
Split-complementary +150° +210°
- 0A0A0F
Eight Ball
- 0D0A06
≈ Badab Black Wash
- 090C07
≈ Raven
Tetradic +90° +180° +270°
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 {
--eight-ball: #0a0a0f;
--eight-ball-rgb: 10 10 15;
--eight-ball-oklch: oklch(0.147 0.011 285);
}
.element {
color: var(--eight-ball);
background-color: hsl(240 20% 5%);
border-color: oklch(0.147 0.011 285);
}Tailwind CSS v4
@theme {
--color-eight-ball: #0a0a0f;
--color-eight-ball-50: #f5f5f8;
--color-eight-ball-100: #e7e7eb;
--color-eight-ball-200: #d4d4d9;
--color-eight-ball-300: #b7b7bd;
--color-eight-ball-400: #9d9ea5;
--color-eight-ball-500: #85858d;
--color-eight-ball-600: #717177;
--color-eight-ball-700: #5a5a60;
--color-eight-ball-800: #424246;
--color-eight-ball-900: #2d2d30;
--color-eight-ball-950: #1a1a1d;
}SCSS
$eight-ball: #0a0a0f;
$eight-ball-rgb: 10, 10, 15;
$eight-ball-light: mix(#fff, $eight-ball, 20%);
$eight-ball-dark: mix(#000, $eight-ball, 20%);
.element {
color: $eight-ball;
box-shadow: 0 0 0 2px rgba($eight-ball, 0.35);
}