#0C2D2B#0C2D2B

#0C2D2B is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.3% C 0.038 H 189.6°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#0C2D2B
RGBrgb(12, 45, 43)
HSLhsl(176, 58%, 11%)
HSVhsv(176, 73%, 18%)
CMYKcmyk(73.3%, 0%, 4.4%, 82.4%)
CIE-LABlab(16.15, -12.45, -2.27)
CIE-LCHlch(16.15, 12.65, 190.35°)
OKLaboklab(27.26% -0.0376 -0.0064)
OKLCHoklch(27.26% 0.038 189.6)
XYZxyz(1.5259, 2.1292, 2.6156)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D2B #2D0C0E
analogous
#0C2D1A #0C2D2B #0C1E2D
triadic
#0C2D2B #2B0C2D #2D2B0C
tetradic
#0C2D2B #1A0C2D #2D0C0E #1E2D0C
square
#0C2D2B #1A0C2D #2D0C0E #1E2D0C
split-complementary
#0C2D2B #2D0C1E #2D1A0C
monochromatic
#061817 #061817 #0C2D2B #195D59 #268E87

Accessibility & contrast

On white

14.73
#0C2D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D2B
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D2B#FFFFFF#000000##FFFFFF
##0C2D2B1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2A2B
Deuteranopia (green-blind)
#25262B
Tritanopia (blue-blind)
#002E2C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2d2b;
/* rgb */ color: rgb(12, 45, 43);
/* oklch */ color: oklch(27.3% 0.038 189.6);
Tailwind
colors: {
  custom: {
    50: '#506664',
    500: '#0c2d2b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d2b;
$custom-light: #506664;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d2b",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 43
  },
  "hsl": {
    "h": 176.364,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27255,
    "c": 0.03811,
    "h": 189.6
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#0C2D2B
secondary
#692C30
accent
#4750E1
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #0C2D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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