#0C2C2A#0C2C2A

#0C2C2A is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.9% C 0.037 H 189.5°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#0C2C2A
RGBrgb(12, 44, 42)
HSLhsl(176, 57%, 11%)
HSVhsv(176, 73%, 17%)
CMYKcmyk(72.7%, 0%, 4.5%, 82.7%)
CIE-LABlab(15.73, -12.19, -2.20)
CIE-LCHlch(15.73, 12.39, 190.21°)
OKLaboklab(26.9% -0.0368 -0.0061)
OKLCHoklch(26.9% 0.037 189.5)
XYZxyz(1.4700, 2.0465, 2.5076)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C2A #2C0C0E
analogous
#0C2C1A #0C2C2A #0C1E2C
triadic
#0C2C2A #2A0C2C #2C2A0C
tetradic
#0C2C2A #1A0C2C #2C0C0E #1E2C0C
square
#0C2C2A #1A0C2C #2C0C0E #1E2C0C
split-complementary
#0C2C2A #2C0C1E #2C1A0C
monochromatic
#071817 #071817 #0C2C2A #195C58 #268C86

Accessibility & contrast

On white

14.90
#0C2C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2C2A
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C2A#FFFFFF#000000##FFFFFF
##0C2C2A1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29292A
Deuteranopia (green-blind)
#24262A
Tritanopia (blue-blind)
#002D2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2c2a;
/* rgb */ color: rgb(12, 44, 42);
/* oklch */ color: oklch(26.9% 0.037 189.5);
Tailwind
colors: {
  custom: {
    50: '#4f6563',
    500: '#0c2c2a',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c2a;
$custom-light: #4f6563;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c2a",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 42
  },
  "hsl": {
    "h": 176.25,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26901,
    "c": 0.03729,
    "h": 189.5
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#0C2C2A
secondary
#672C30
accent
#4751E0
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020505
muted
#787A79

Preview Lab

Preview with #0C2C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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