#2D2F36#2D2F36

#2D2F36 is a dark, near-neutral blue. Relative luminance 0.029; OKLCH L 30.6% C 0.013 H 272.9°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#2D2F36
RGBrgb(45, 47, 54)
HSLhsl(227, 9%, 19%)
HSVhsv(227, 17%, 21%)
CMYKcmyk(16.7%, 13%, 0%, 78.8%)
CIE-LABlab(19.46, 0.91, -4.76)
CIE-LCHlch(19.46, 4.84, 280.81°)
OKLaboklab(30.6% 0.0007 -0.0129)
OKLCHoklch(30.6% 0.013 272.9)
XYZxyz(2.7644, 2.8572, 3.8952)
Luminance0.0286 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F36 #36342D
analogous
#2D3436 #2D2F36 #302D36
triadic
#2D2F36 #362D2F #2F362D
tetradic
#2D2F36 #362D34 #36342D #2D3630
square
#2D2F36 #362D34 #36342D #2D3630
split-complementary
#2D2F36 #36302D #34362D
monochromatic
#0E0F11 #111215 #2D2F36 #494C57 #656979

Accessibility & contrast

On white

13.36
#2D2F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2D2F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F36
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F36#FFFFFF#000000##FFFFFF
##2D2F361.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3036
Deuteranopia (green-blind)
#2C2F36
Tritanopia (blue-blind)
#2B3031
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d2f36;
/* rgb */ color: rgb(45, 47, 54);
/* oklch */ color: oklch(30.6% 0.013 272.9);
Tailwind
colors: {
  custom: {
    50: '#66676d',
    500: '#2d2f36',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f36;
$custom-light: #66676d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f36",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 54
  },
  "hsl": {
    "h": 226.667,
    "s": 9.091,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30603,
    "c": 0.01288,
    "h": 272.9
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#2D2F36
secondary
#656359
accent
#A576B2
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050607
muted
#7A7A7A

Preview Lab

Preview with #2D2F36

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

Preview Lab → · Contrast checker → · Palette generator →

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