#2E2F37#2E2F37

#2E2F37 is a dark, near-neutral blue. Relative luminance 0.029; OKLCH L 30.7% C 0.014 H 279.9°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#2E2F37
RGBrgb(46, 47, 55)
HSLhsl(233, 9%, 20%)
HSVhsv(233, 16%, 22%)
CMYKcmyk(16.4%, 14.5%, 0%, 78.4%)
CIE-LABlab(19.60, 1.59, -5.24)
CIE-LCHlch(19.60, 5.47, 286.87°)
OKLaboklab(30.74% 0.0025 -0.0142)
OKLCHoklch(30.74% 0.014 279.9)
XYZxyz(2.8327, 2.8897, 4.0222)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F37 #37362E
analogous
#2E3437 #2E2F37 #322E37
triadic
#2E2F37 #372E2F #2F372E
tetradic
#2E2F37 #372E34 #37362E #2E3732
square
#2E2F37 #372E34 #37362E #2E3732
split-complementary
#2E2F37 #37322E #34372E
monochromatic
#0E0E11 #121316 #2E2F37 #4A4B58 #66687A

Accessibility & contrast

On white

13.31
#2E2F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2E2F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F37
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F37#FFFFFF#000000##FFFFFF
##2E2F371.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3037
Deuteranopia (green-blind)
#2D2F37
Tritanopia (blue-blind)
#2C3032
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2e2f37;
/* rgb */ color: rgb(46, 47, 55);
/* oklch */ color: oklch(30.7% 0.014 279.9);
Tailwind
colors: {
  custom: {
    50: '#66676d',
    500: '#2e2f37',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f37;
$custom-light: #66676d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f37",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 55
  },
  "hsl": {
    "h": 233.333,
    "s": 8.911,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30744,
    "c": 0.01437,
    "h": 279.9
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#2E2F37
secondary
#66655A
accent
#AB76B2
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #2E2F37

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

Preview Lab → · Contrast checker → · Palette generator →

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