#2A2A32#2A2A32

#2A2A32 is a dark, near-neutral blue. Relative luminance 0.024; OKLCH L 28.8% C 0.014 H 285.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#2A2A32
RGBrgb(42, 42, 50)
HSLhsl(240, 9%, 18%)
HSVhsv(240, 16%, 20%)
CMYKcmyk(16%, 16%, 0%, 80.4%)
CIE-LABlab(17.36, 2.04, -5.16)
CIE-LCHlch(17.36, 5.55, 291.60°)
OKLaboklab(28.83% 0.0039 -0.014)
OKLCHoklch(28.83% 0.014 285.4)
XYZxyz(2.3584, 2.3784, 3.3518)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A32 #32322A
analogous
#2A2E32 #2A2A32 #2E2A32
triadic
#2A2A32 #322A2A #2A322A
tetradic
#2A2A32 #322A2E #32322A #2A322E
square
#2A2A32 #322A2E #32322A #2A322E
split-complementary
#2A2A32 #322E2A #2E322A
monochromatic
#0E0E11 #0E0E11 #2A2A32 #464653 #626275

Accessibility & contrast

On white

14.23
#2A2A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2A2A32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A32
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A32#FFFFFF#000000##FFFFFF
##2A2A321.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B32
Deuteranopia (green-blind)
#282A32
Tritanopia (blue-blind)
#282B2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2a32;
/* rgb */ color: rgb(42, 42, 50);
/* oklch */ color: oklch(28.8% 0.014 285.4);
Tailwind
colors: {
  custom: {
    50: '#636369',
    500: '#2a2a32',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a32;
$custom-light: #636369;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a32",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 50
  },
  "hsl": {
    "h": 240,
    "s": 8.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28833,
    "c": 0.01449,
    "h": 285.4
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#2A2A32
secondary
#616156
accent
#B276B2
background
#F5F5F6
surface
#EAEAEB
border
#C6C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #2A2A32

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

Preview Lab → · Contrast checker → · Palette generator →

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