#0C2C28#0C2C28

#0C2C28 is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.8% C 0.038 H 184.0°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#0C2C28
RGBrgb(12, 44, 40)
HSLhsl(173, 57%, 11%)
HSVhsv(173, 73%, 17%)
CMYKcmyk(72.7%, 0%, 9.1%, 82.7%)
CIE-LABlab(15.66, -12.87, -0.89)
CIE-LCHlch(15.66, 12.90, 183.98°)
OKLaboklab(26.82% -0.0379 -0.0026)
OKLCHoklch(26.82% 0.038 184)
XYZxyz(1.4351, 2.0326, 2.3238)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C28 #2C0C10
analogous
#0C2C18 #0C2C28 #0C202C
triadic
#0C2C28 #280C2C #2C280C
tetradic
#0C2C28 #180C2C #2C0C10 #202C0C
square
#0C2C28 #180C2C #2C0C10 #202C0C
split-complementary
#0C2C28 #2C0C20 #2C180C
monochromatic
#071816 #071816 #0C2C28 #195C54 #268C7F

Accessibility & contrast

On white

14.93
#0C2C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2C28
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C28#FFFFFF#000000##FFFFFF
##0C2C281.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2928
Deuteranopia (green-blind)
#252628
Tritanopia (blue-blind)
#002D2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2c28;
/* rgb */ color: rgb(12, 44, 40);
/* oklch */ color: oklch(26.8% 0.038 184.0);
Tailwind
colors: {
  custom: {
    50: '#4f6561',
    500: '#0c2c28',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c28;
$custom-light: #4f6561;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c28",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 40
  },
  "hsl": {
    "h": 172.5,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26819,
    "c": 0.03801,
    "h": 184
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#0C2C28
secondary
#672C34
accent
#475BE0
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020505
muted
#787A79

Preview Lab

Preview with #0C2C28

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

Preview Lab → · Contrast checker → · Palette generator →

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