#0C2D2D#0C2D2D

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

Color values

HEX#0C2D2D
RGBrgb(12, 45, 45)
HSLhsl(180, 58%, 11%)
HSVhsv(180, 73%, 18%)
CMYKcmyk(73.3%, 0%, 0%, 82.4%)
CIE-LABlab(16.23, -11.75, -3.57)
CIE-LCHlch(16.23, 12.27, 196.89°)
OKLaboklab(27.34% -0.0365 -0.0099)
OKLCHoklch(27.34% 0.038 195.2)
XYZxyz(1.5635, 2.1442, 2.8136)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D2D #2D0C0C
analogous
#0C2D1C #0C2D2D #0C1C2D
triadic
#0C2D2D #2D0C2D #2D2D0C
tetradic
#0C2D2D #1C0C2D #2D0C0C #1C2D0C
square
#0C2D2D #1C0C2D #2D0C0C #1C2D0C
split-complementary
#0C2D2D #2D0C1C #2D1C0C
monochromatic
#061818 #061818 #0C2D2D #195D5D #268E8E

Accessibility & contrast

On white

14.70
#0C2D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D2D
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D2D#FFFFFF#000000##FFFFFF
##0C2D2D1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2D
Deuteranopia (green-blind)
#24272D
Tritanopia (blue-blind)
#002F2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2d2d;
/* rgb */ color: rgb(12, 45, 45);
/* oklch */ color: oklch(27.3% 0.038 195.2);
Tailwind
colors: {
  custom: {
    50: '#506665',
    500: '#0c2d2d',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d2d;
$custom-light: #506665;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d2d",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 45
  },
  "hsl": {
    "h": 180,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27341,
    "c": 0.03779,
    "h": 195.2
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#0C2D2D
secondary
#692C2C
accent
#4747E1
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020505
muted
#787A7A

Preview Lab

Preview with #0C2D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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