#0C2A2C#0C2A2C

#0C2A2C is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.4% C 0.035 H 201.3°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#0C2A2C
RGBrgb(12, 42, 44)
HSLhsl(184, 57%, 11%)
HSVhsv(184, 73%, 17%)
CMYKcmyk(72.7%, 4.5%, 0%, 82.7%)
CIE-LABlab(15.04, -10.24, -4.64)
CIE-LCHlch(15.04, 11.24, 204.36°)
OKLaboklab(26.37% -0.0329 -0.0128)
OKLCHoklch(26.37% 0.035 201.3)
XYZxyz(1.4340, 1.9158, 2.6766)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A2C #2C0E0C
analogous
#0C2C1E #0C2A2C #0C1A2C
triadic
#0C2A2C #2C0C2A #2A2C0C
tetradic
#0C2A2C #1E0C2C #2C0E0C #1A2C0C
square
#0C2A2C #1E0C2C #2C0E0C #1A2C0C
split-complementary
#0C2A2C #2C0C1A #2C1E0C
monochromatic
#071718 #071718 #0C2A2C #19585C #26868C

Accessibility & contrast

On white

15.18
#0C2A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0C2A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A2C
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A2C#FFFFFF#000000##FFFFFF
##0C2A2C1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282C
Deuteranopia (green-blind)
#21242C
Tritanopia (blue-blind)
#002C2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2a2c;
/* rgb */ color: rgb(12, 42, 44);
/* oklch */ color: oklch(26.4% 0.035 201.3);
Tailwind
colors: {
  custom: {
    50: '#4f6365',
    500: '#0c2a2c',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a2c;
$custom-light: #4f6365;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a2c",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 44
  },
  "hsl": {
    "h": 183.75,
    "s": 57.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26369,
    "c": 0.03533,
    "h": 201.3
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#0C2A2C
secondary
#67302C
accent
#5147E0
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020505
muted
#78797A

Preview Lab

Preview with #0C2A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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