#0C2A2B#0C2A2B

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

Color values

HEX#0C2A2B
RGBrgb(12, 42, 43)
HSLhsl(182, 56%, 11%)
HSVhsv(182, 72%, 17%)
CMYKcmyk(72.1%, 2.3%, 0%, 83.1%)
CIE-LABlab(15.00, -10.60, -3.99)
CIE-LCHlch(15.00, 11.33, 200.62°)
OKLaboklab(26.32% -0.0335 -0.011)
OKLCHoklch(26.32% 0.035 198.3)
XYZxyz(1.4154, 1.9084, 2.5788)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A2B #2B0D0C
analogous
#0C2B1C #0C2A2B #0C1A2B
triadic
#0C2A2B #2B0C2A #2A2B0C
tetradic
#0C2A2B #1C0C2B #2B0D0C #1A2B0C
square
#0C2A2B #1C0C2B #2B0D0C #1A2B0C
split-complementary
#0C2A2B #2B0C1A #2B1C0C
monochromatic
#071718 #071718 #0C2A2B #19595B #27878B

Accessibility & contrast

On white

15.20
#0C2A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2A2B
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A2B#FFFFFF#000000##FFFFFF
##0C2A2B1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282B
Deuteranopia (green-blind)
#22242B
Tritanopia (blue-blind)
#002C2A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2a2b;
/* rgb */ color: rgb(12, 42, 43);
/* oklch */ color: oklch(26.3% 0.035 198.3);
Tailwind
colors: {
  custom: {
    50: '#4f6364',
    500: '#0c2a2b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a2b;
$custom-light: #4f6364;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a2b",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 43
  },
  "hsl": {
    "h": 181.935,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26323,
    "c": 0.03523,
    "h": 198.3
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#0C2A2B
secondary
#662E2C
accent
#4D48E0
background
#F4F5F5
surface
#E7EAEA
border
#C3C6C6
text
#020505
muted
#787979

Preview Lab

Preview with #0C2A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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