#183A2A#183A2A

#183A2A is a dark, muted teal. Relative luminance 0.034; OKLCH L 31.8% C 0.050 H 161.2°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#183A2A
RGBrgb(24, 58, 42)
HSLhsl(152, 41%, 16%)
HSVhsv(152, 59%, 23%)
CMYKcmyk(58.6%, 0%, 27.6%, 77.3%)
CIE-LABlab(21.53, -17.00, 6.23)
CIE-LCHlch(21.53, 18.11, 159.88°)
OKLaboklab(31.75% -0.0469 0.0159)
OKLCHoklch(31.75% 0.05 161.2)
XYZxyz(2.3075, 3.3873, 2.7223)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A2A #3A1828
analogous
#183A19 #183A2A #18393A
triadic
#183A2A #2A183A #3A2A18
tetradic
#183A2A #19183A #3A1828 #393A18
square
#183A2A #19183A #3A1828 #393A18
split-complementary
#183A2A #3A1839 #3A1918
monochromatic
#091610 #091610 #183A2A #2A6549 #3C9169

Accessibility & contrast

On white

12.52
#183A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#183A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A2A
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A2A#FFFFFF#000000##FFFFFF
##183A2A1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393629
Deuteranopia (green-blind)
#34322B
Tritanopia (blue-blind)
#0D3A36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #183a2a;
/* rgb */ color: rgb(24, 58, 42);
/* oklch */ color: oklch(31.8% 0.050 161.2);
Tailwind
colors: {
  custom: {
    50: '#587063',
    500: '#183a2a',
    950: '#000000',
  },
}
SCSS
$custom: #183a2a;
$custom-light: #587063;
$custom-dark: #000000;
JSON
{
  "hex": "#183a2a",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 42
  },
  "hsl": {
    "h": 151.765,
    "s": 41.463,
    "l": 16.078
  },
  "oklch": {
    "l": 0.31754,
    "c": 0.04955,
    "h": 161.2
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#183A2A
secondary
#703E55
accent
#5790D1
background
#F5F6F5
surface
#E9ECEA
border
#C5C7C6
text
#030705
muted
#787A79

Preview Lab

Preview with #183A2A

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

Preview Lab → · Contrast checker → · Palette generator →

#183A2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva