#0C2B2A#0C2B2A

#0C2B2A is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.6% C 0.036 H 192.3°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#0C2B2A
RGBrgb(12, 43, 42)
HSLhsl(178, 56%, 11%)
HSVhsv(178, 72%, 17%)
CMYKcmyk(72.1%, 0%, 2.3%, 83.1%)
CIE-LABlab(15.34, -11.58, -2.77)
CIE-LCHlch(15.34, 11.90, 193.44°)
OKLaboklab(26.59% -0.0354 -0.0077)
OKLCHoklch(26.59% 0.036 192.3)
XYZxyz(1.4332, 1.9729, 2.4953)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B2A #2B0C0D
analogous
#0C2B1A #0C2B2A #0C1C2B
triadic
#0C2B2A #2A0C2B #2B2A0C
tetradic
#0C2B2A #1A0C2B #2B0C0D #1C2B0C
square
#0C2B2A #1A0C2B #2B0C0D #1C2B0C
split-complementary
#0C2B2A #2B0C1C #2B1A0C
monochromatic
#071817 #071817 #0C2B2A #195B59 #278B87

Accessibility & contrast

On white

15.06
#0C2B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C2B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B2A
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B2A#FFFFFF#000000##FFFFFF
##0C2B2A1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292A
Deuteranopia (green-blind)
#23252A
Tritanopia (blue-blind)
#002C2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2b2a;
/* rgb */ color: rgb(12, 43, 42);
/* oklch */ color: oklch(26.6% 0.036 192.3);
Tailwind
colors: {
  custom: {
    50: '#4f6463',
    500: '#0c2b2a',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b2a;
$custom-light: #4f6463;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b2a",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 42
  },
  "hsl": {
    "h": 178.065,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26589,
    "c": 0.03623,
    "h": 192.3
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#0C2B2A
secondary
#662C2E
accent
#484DE0
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020505
muted
#787A79

Preview Lab

Preview with #0C2B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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