Named color · #313238
Granite Black
Granite Black is #313238: rgb(49 50 56), hsl(231 7% 21%), oklch(0.319 0.011 278.2). See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
What does Gray mean? → · Granite Black color name →
#313238
oklch(0.319 0.011 278.2)
Color conversions
- HEX
- #313238
- RGB
- rgb(49 50 56)
- HSL
- hsl(231 7% 21%)
- HWB
- hwb(231 19% 78%)
- OKLCH
- oklch(0.319 0.011 278.2)
- OKLab
- oklab(0.319 0.002 -0.011)
- CIE Lab
- lab(20.86 0.66 -3.97)
- LCH
- lch(20.86 4.03 279.4)
- CMYK
- cmyk(13% 11% 0% 78%)
Tints · Shades · Tones
Tints
- 434449
- 55565B
- 69696E
- 7C7D81
- 919295
- A6A7AA
- BCBCBE
- D2D2D3
- E8E8E9
Shades
- 292A2F
- 222227
- 1A1B1F
- 131417
- 0C0D0F
- 060708
- 030304
- 010101
- 000000
Tones
- 38393F
- 404146
- 47484D
- 4F5054
- 57575B
- 5F5F62
- 676769
- 6F6F71
- 787878
Color harmonies
Complementary +180°
- 313238
Granite Black
- 34332C
≈ Black Powder
Analogous -30° +30°
- 313238
Granite Black
- 2E3338
≈ Ebony
- 343137
≈ Smiler’s Mist
Triadic +120° +240°
- 313238
Granite Black
- 38312F
≈ Oil Grey
- 2E3430
≈ Oil
Split-complementary +150° +210°
- 313238
Granite Black
- 36322D
≈ Acadia
- 31342E
≈ Oil
Tetradic +90° +180° +270°
- 313238
Granite Black
- 383031
≈ Smoked Black Coffee
- 34332C
≈ Black Powder
- 2D3433
≈ Phantom Ship
Contrast & accessibility
Ag
AAAOn white
WCAG 12.77:1 · APCA Lc 99
Ag
FailOn black
WCAG 1.64:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 12.77:1 (AAA) · APCA Lc 99
Contrast pairs
Code snippets
CSS
:root {
--granite-black: #313238;
--granite-black-rgb: 49 50 56;
--granite-black-oklch: oklch(0.319 0.011 278.2);
}
.element {
color: var(--granite-black);
background-color: hsl(231 7% 21%);
border-color: oklch(0.319 0.011 278.2);
}Tailwind CSS v4
@theme {
--color-granite-black: #313238;
--color-granite-black-50: #f4f5f8;
--color-granite-black-100: #e7e7eb;
--color-granite-black-200: #d3d4d9;
--color-granite-black-300: #b6b7bd;
--color-granite-black-400: #9d9ea5;
--color-granite-black-500: #84868d;
--color-granite-black-600: #707178;
--color-granite-black-700: #595a60;
--color-granite-black-800: #414246;
--color-granite-black-900: #2d2e31;
--color-granite-black-950: #1a1a1d;
}SCSS
$granite-black: #313238;
$granite-black-rgb: 49, 50, 56;
$granite-black-light: mix(#fff, $granite-black, 20%);
$granite-black-dark: mix(#000, $granite-black, 20%);
.element {
color: $granite-black;
box-shadow: 0 0 0 2px rgba($granite-black, 0.35);
}