#0C2C2C#0C2C2C

#0C2C2C is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.0% C 0.037 H 195.2°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#0C2C2C
RGBrgb(12, 44, 44)
HSLhsl(180, 57%, 11%)
HSVhsv(180, 73%, 17%)
CMYKcmyk(72.7%, 0%, 0%, 82.7%)
CIE-LABlab(15.81, -11.49, -3.49)
CIE-LCHlch(15.81, 12.01, 196.90°)
OKLaboklab(26.99% -0.0357 -0.0097)
OKLCHoklch(26.99% 0.037 195.2)
XYZxyz(1.5067, 2.0612, 2.7008)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C2C #2C0C0C
analogous
#0C2C1C #0C2C2C #0C1C2C
triadic
#0C2C2C #2C0C2C #2C2C0C
tetradic
#0C2C2C #1C0C2C #2C0C0C #1C2C0C
square
#0C2C2C #1C0C2C #2C0C0C #1C2C0C
split-complementary
#0C2C2C #2C0C1C #2C1C0C
monochromatic
#071818 #071818 #0C2C2C #195C5C #268C8C

Accessibility & contrast

On white

14.87
#0C2C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C2C
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C2C#FFFFFF#000000##FFFFFF
##0C2C2C1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2C
Deuteranopia (green-blind)
#24262C
Tritanopia (blue-blind)
#002E2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2c2c;
/* rgb */ color: rgb(12, 44, 44);
/* oklch */ color: oklch(27.0% 0.037 195.2);
Tailwind
colors: {
  custom: {
    50: '#506565',
    500: '#0c2c2c',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c2c;
$custom-light: #506565;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c2c",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 44
  },
  "hsl": {
    "h": 180,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26987,
    "c": 0.03695,
    "h": 195.2
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#0C2C2C
secondary
#672C2C
accent
#4747E0
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020505
muted
#787A7A

Preview Lab

Preview with #0C2C2C

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

Preview Lab → · Contrast checker → · Palette generator →

#0C2C2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva