#2F3133#2F3133

#2F3133 is a dark, near-neutral grey. Relative luminance 0.030; OKLCH L 31.2% C 0.005 H 247.9°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#2F3133
RGBrgb(47, 49, 51)
HSLhsl(210, 4%, 19%)
HSVhsv(210, 8%, 20%)
CMYKcmyk(7.8%, 3.9%, 0%, 80%)
CIE-LABlab(20.20, -0.39, -1.58)
CIE-LCHlch(20.20, 1.62, 256.21°)
OKLaboklab(31.19% -0.0017 -0.0042)
OKLCHoklch(31.19% 0.005 247.9)
XYZxyz(2.8680, 3.0400, 3.5670)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3133 #33312F
analogous
#2F3333 #2F3133 #2F2F33
triadic
#2F3133 #332F31 #31332F
tetradic
#2F3133 #332F33 #33312F #2F332F
square
#2F3133 #332F33 #33312F #2F332F
split-complementary
#2F3133 #332F2F #33332F
monochromatic
#0F0F10 #121213 #2F3133 #4C5053 #6A6E73

Accessibility & contrast

On white

13.06
#2F3133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2F3133 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3133
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3133#FFFFFF#000000##FFFFFF
##2F31331.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303133
Deuteranopia (green-blind)
#303133
Tritanopia (blue-blind)
#2E3132
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2f3133;
/* rgb */ color: rgb(47, 49, 51);
/* oklch */ color: oklch(31.2% 0.005 247.9);
Tailwind
colors: {
  custom: {
    50: '#67696a',
    500: '#2f3133',
    950: '#000000',
  },
}
SCSS
$custom: #2f3133;
$custom-light: #67696a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3133",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 51
  },
  "hsl": {
    "h": 210,
    "s": 4.082,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31194,
    "c": 0.00455,
    "h": 247.9
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#2F3133
secondary
#625F5C
accent
#947BAD
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060606
muted
#7A7A7A

Preview Lab

Preview with #2F3133

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F3133 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva