#2A383A#2A383A

#2A383A is a dark, near-neutral teal. Relative luminance 0.036; OKLCH L 32.9% C 0.019 H 207.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#2A383A
RGBrgb(42, 56, 58)
HSLhsl(188, 16%, 20%)
HSVhsv(188, 28%, 23%)
CMYKcmyk(27.6%, 3.4%, 0%, 77.3%)
CIE-LABlab(22.39, -5.18, -3.14)
CIE-LCHlch(22.39, 6.06, 211.21°)
OKLaboklab(32.9% -0.0167 -0.0085)
OKLCHoklch(32.9% 0.019 207.1)
XYZxyz(3.1325, 3.6259, 4.5370)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A383A #3A2C2A
analogous
#2A3A34 #2A383A #2A303A
triadic
#2A383A #3A2A38 #383A2A
tetradic
#2A383A #342A3A #3A2C2A #303A2A
square
#2A383A #342A3A #3A2C2A #303A2A
split-complementary
#2A383A #3A2A30 #3A342A
monochromatic
#0D1112 #101617 #2A383A #445A5D #5D7D81

Accessibility & contrast

On white

12.17
#2A383A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2A383A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A383A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A383A#FFFFFF#000000##FFFFFF
##2A383A1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36373A
Deuteranopia (green-blind)
#33353A
Tritanopia (blue-blind)
#253939
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a383a;
/* rgb */ color: rgb(42, 56, 58);
/* oklch */ color: oklch(32.9% 0.019 207.1);
Tailwind
colors: {
  custom: {
    50: '#646e70',
    500: '#2a383a',
    950: '#000000',
  },
}
SCSS
$custom: #2a383a;
$custom-light: #646e70;
$custom-dark: #000000;
JSON
{
  "hex": "#2a383a",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 58
  },
  "hsl": {
    "h": 187.5,
    "s": 16,
    "l": 19.608
  },
  "oklch": {
    "l": 0.32901,
    "c": 0.01879,
    "h": 207.1
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#2A383A
secondary
#6B5855
accent
#786FB9
background
#F5F6F6
surface
#EAEBEC
border
#C6C6C7
text
#050707
muted
#797A7A

Preview Lab

Preview with #2A383A

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

Preview Lab → · Contrast checker → · Palette generator →

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