#2A2C34#2A2C34

#2A2C34 is a dark, near-neutral blue. Relative luminance 0.025; OKLCH L 29.4% C 0.015 H 274.3°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#2A2C34
RGBrgb(42, 44, 52)
HSLhsl(228, 11%, 18%)
HSVhsv(228, 19%, 20%)
CMYKcmyk(19.2%, 15.4%, 0%, 79.6%)
CIE-LABlab(18.11, 1.20, -5.44)
CIE-LCHlch(18.11, 5.57, 282.43°)
OKLaboklab(29.44% 0.0011 -0.0147)
OKLCHoklch(29.44% 0.015 274.3)
XYZxyz(2.4752, 2.5415, 3.6083)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C34 #34322A
analogous
#2A3134 #2A2C34 #2D2A34
triadic
#2A2C34 #342A2C #2C342A
tetradic
#2A2C34 #342A31 #34322A #2A342D
square
#2A2C34 #342A31 #34322A #2A342D
split-complementary
#2A2C34 #342D2A #31342A
monochromatic
#0E0E11 #0F0F12 #2A2C34 #454956 #616578

Accessibility & contrast

On white

13.92
#2A2C34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2A2C34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C34
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C34#FFFFFF#000000##FFFFFF
##2A2C341.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2D34
Deuteranopia (green-blind)
#292C34
Tritanopia (blue-blind)
#282D2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2c34;
/* rgb */ color: rgb(42, 44, 52);
/* oklch */ color: oklch(29.4% 0.015 274.3);
Tailwind
colors: {
  custom: {
    50: '#63656b',
    500: '#2a2c34',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c34;
$custom-light: #63656b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c34",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 52
  },
  "hsl": {
    "h": 228,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29443,
    "c": 0.01478,
    "h": 274.3
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#2A2C34
secondary
#646156
accent
#A774B4
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050506
muted
#797A7A

Preview Lab

Preview with #2A2C34

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

Preview Lab → · Contrast checker → · Palette generator →

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