#0C2F2C#0C2F2C

#0C2F2C is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.9% C 0.040 H 187.2°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#0C2F2C
RGBrgb(12, 47, 44)
HSLhsl(175, 59%, 12%)
HSVhsv(175, 74%, 18%)
CMYKcmyk(74.5%, 0%, 6.4%, 81.6%)
CIE-LABlab(16.95, -13.30, -1.79)
CIE-LCHlch(16.95, 13.42, 187.64°)
OKLaboklab(27.92% -0.0397 -0.005)
OKLCHoklch(27.92% 0.04 187.2)
XYZxyz(1.6226, 2.2929, 2.7394)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F2C #2F0C0F
analogous
#0C2F1B #0C2F2C #0C212F
triadic
#0C2F2C #2C0C2F #2F2C0C
tetradic
#0C2F2C #1B0C2F #2F0C0F #212F0C
square
#0C2F2C #1B0C2F #2F0C0F #212F0C
split-complementary
#0C2F2C #2F0C21 #2F1B0C
monochromatic
#061817 #061817 #0C2F2C #18605A #259187

Accessibility & contrast

On white

14.40
#0C2F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C2F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F2C
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F2C#FFFFFF#000000##FFFFFF
##0C2F2C1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2C
Deuteranopia (green-blind)
#27282C
Tritanopia (blue-blind)
#00302E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2f2c;
/* rgb */ color: rgb(12, 47, 44);
/* oklch */ color: oklch(27.9% 0.040 187.2);
Tailwind
colors: {
  custom: {
    50: '#506765',
    500: '#0c2f2c',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f2c;
$custom-light: #506765;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f2c",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 44
  },
  "hsl": {
    "h": 174.857,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27918,
    "c": 0.04005,
    "h": 187.2
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#0C2F2C
secondary
#6B2C31
accent
#4553E3
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #0C2F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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