#2A3034#2A3034

#2A3034 is a dark, near-neutral cyan. Relative luminance 0.029; OKLCH L 30.5% C 0.011 H 237.0°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#2A3034
RGBrgb(42, 48, 52)
HSLhsl(204, 11%, 18%)
HSVhsv(204, 19%, 20%)
CMYKcmyk(19.2%, 7.7%, 0%, 79.6%)
CIE-LABlab(19.45, -1.54, -3.43)
CIE-LCHlch(19.45, 3.76, 245.83°)
OKLaboklab(30.5% -0.006 -0.0093)
OKLCHoklch(30.5% 0.011 237)
XYZxyz(2.6315, 2.8540, 3.6604)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3034 #342E2A
analogous
#2A3433 #2A3034 #2A2B34
triadic
#2A3034 #342A30 #30342A
tetradic
#2A3034 #332A34 #342E2A #2B342A
square
#2A3034 #332A34 #342E2A #2B342A
split-complementary
#2A3034 #342A2B #34332A
monochromatic
#0E1011 #0F1112 #2A3034 #454F56 #616F78

Accessibility & contrast

On white

13.37
#2A3034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3034
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3034#FFFFFF#000000##FFFFFF
##2A30341.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3034
Deuteranopia (green-blind)
#2D2F34
Tritanopia (blue-blind)
#273131
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3034;
/* rgb */ color: rgb(42, 48, 52);
/* oklch */ color: oklch(30.5% 0.011 237.0);
Tailwind
colors: {
  custom: {
    50: '#63686b',
    500: '#2a3034',
    950: '#000000',
  },
}
SCSS
$custom: #2a3034;
$custom-light: #63686b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3034",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 52
  },
  "hsl": {
    "h": 204,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30499,
    "c": 0.01105,
    "h": 237
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#2A3034
secondary
#645C56
accent
#8E74B4
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #2A3034

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

Preview Lab → · Contrast checker → · Palette generator →

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