#0C2C2B#0C2C2B

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

Color values

HEX#0C2C2B
RGBrgb(12, 44, 43)
HSLhsl(178, 57%, 11%)
HSVhsv(178, 73%, 17%)
CMYKcmyk(72.7%, 0%, 2.3%, 82.7%)
CIE-LABlab(15.77, -11.84, -2.84)
CIE-LCHlch(15.77, 12.18, 193.51°)
OKLaboklab(26.94% -0.0362 -0.0079)
OKLCHoklch(26.94% 0.037 192.3)
XYZxyz(1.4882, 2.0538, 2.6030)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C2B #2C0C0D
analogous
#0C2C1B #0C2C2B #0C1D2C
triadic
#0C2C2B #2B0C2C #2C2B0C
tetradic
#0C2C2B #1B0C2C #2C0C0D #1D2C0C
square
#0C2C2B #1B0C2C #2C0C0D #1D2C0C
split-complementary
#0C2C2B #2C0C1D #2C1B0C
monochromatic
#071817 #071817 #0C2C2B #195C5A #268C89

Accessibility & contrast

On white

14.89
#0C2C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2C2B
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C2B#FFFFFF#000000##FFFFFF
##0C2C2B1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2c2b;
/* rgb */ color: rgb(12, 44, 43);
/* oklch */ color: oklch(26.9% 0.037 192.3);
Tailwind
colors: {
  custom: {
    50: '#4f6564',
    500: '#0c2c2b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c2b;
$custom-light: #4f6564;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c2b",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 43
  },
  "hsl": {
    "h": 178.125,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26944,
    "c": 0.03707,
    "h": 192.3
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#0C2C2B
secondary
#672C2E
accent
#474CE0
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020505
muted
#787A79

Preview Lab

Preview with #0C2C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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