#0C2A2A#0C2A2A

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

Color values

HEX#0C2A2A
RGBrgb(12, 42, 42)
HSLhsl(180, 56%, 11%)
HSVhsv(180, 71%, 16%)
CMYKcmyk(71.4%, 0%, 0%, 83.5%)
CIE-LABlab(14.96, -10.96, -3.34)
CIE-LCHlch(14.96, 11.46, 196.95°)
OKLaboklab(26.28% -0.034 -0.0093)
OKLCHoklch(26.28% 0.035 195.2)
XYZxyz(1.3973, 1.9011, 2.4834)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A2A #2A0C0C
analogous
#0C2A1B #0C2A2A #0C1B2A
triadic
#0C2A2A #2A0C2A #2A2A0C
tetradic
#0C2A2A #1B0C2A #2A0C0C #1B2A0C
square
#0C2A2A #1B0C2A #2A0C0C #1B2A0C
split-complementary
#0C2A2A #2A0C1B #2A1B0C
monochromatic
#071818 #071818 #0C2A2A #1A5A5A #278989

Accessibility & contrast

On white

15.22
#0C2A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2A2A
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A2A#FFFFFF#000000##FFFFFF
##0C2A2A1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2a2a;
/* rgb */ color: rgb(12, 42, 42);
/* oklch */ color: oklch(26.3% 0.035 195.2);
Tailwind
colors: {
  custom: {
    50: '#4f6363',
    500: '#0c2a2a',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a2a;
$custom-light: #4f6363;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a2a",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 180,
    "s": 55.556,
    "l": 10.588
  },
  "oklch": {
    "l": 0.26278,
    "c": 0.03525,
    "h": 195.2
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#0C2A2A
secondary
#652D2D
accent
#4949DF
background
#F4F5F5
surface
#E7EAEA
border
#C3C6C6
text
#020505
muted
#787979

Preview Lab

Preview with #0C2A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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