#0C2D2A#0C2D2A

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

Color values

HEX#0C2D2A
RGBrgb(12, 45, 42)
HSLhsl(175, 58%, 11%)
HSVhsv(175, 73%, 18%)
CMYKcmyk(73.3%, 0%, 6.7%, 82.4%)
CIE-LABlab(16.11, -12.79, -1.63)
CIE-LCHlch(16.11, 12.90, 187.25°)
OKLaboklab(27.21% -0.0382 -0.0046)
OKLCHoklch(27.21% 0.038 186.9)
XYZxyz(1.5077, 2.1219, 2.5202)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D2A #2D0C0F
analogous
#0C2D19 #0C2D2A #0C1F2D
triadic
#0C2D2A #2A0C2D #2D2A0C
tetradic
#0C2D2A #190C2D #2D0C0F #1F2D0C
square
#0C2D2A #190C2D #2D0C0F #1F2D0C
split-complementary
#0C2D2A #2D0C1F #2D190C
monochromatic
#061817 #061817 #0C2D2A #195D57 #268E84

Accessibility & contrast

On white

14.74
#0C2D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0C2D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D2A
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D2A#FFFFFF#000000##FFFFFF
##0C2D2A1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2d2a;
/* rgb */ color: rgb(12, 45, 42);
/* oklch */ color: oklch(27.2% 0.038 186.9);
Tailwind
colors: {
  custom: {
    50: '#506663',
    500: '#0c2d2a',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d2a;
$custom-light: #506663;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d2a",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 42
  },
  "hsl": {
    "h": 174.545,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27213,
    "c": 0.03843,
    "h": 186.9
  },
  "luminance": 0.02122
}

Semantic roles & 50–950 ramp

primary
#0C2D2A
secondary
#692C32
accent
#4755E1
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #0C2D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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