#0C2E26#0C2E26

#0C2E26 is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.4% C 0.042 H 174.7°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#0C2E26
RGBrgb(12, 46, 38)
HSLhsl(166, 59%, 11%)
HSVhsv(166, 74%, 18%)
CMYKcmyk(73.9%, 0%, 17.4%, 82%)
CIE-LABlab(16.36, -14.69, 1.54)
CIE-LCHlch(16.36, 14.77, 174.03°)
OKLaboklab(27.37% -0.0418 0.0039)
OKLCHoklch(27.37% 0.042 174.7)
XYZxyz(1.4783, 2.1719, 2.1747)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E26 #2E0C14
analogous
#0C2E15 #0C2E26 #0C252E
triadic
#0C2E26 #260C2E #2E260C
tetradic
#0C2E26 #150C2E #2E0C14 #252E0C
square
#0C2E26 #150C2E #2E0C14 #252E0C
split-complementary
#0C2E26 #2E0C25 #2E150C
monochromatic
#061814 #061814 #0C2E26 #195F4E #258F76

Accessibility & contrast

On white

14.64
#0C2E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2E26
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E26#FFFFFF#000000##FFFFFF
##0C2E261.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2B26
Deuteranopia (green-blind)
#272727
Tritanopia (blue-blind)
#002F2C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2e26;
/* rgb */ color: rgb(12, 46, 38);
/* oklch */ color: oklch(27.4% 0.042 174.7);
Tailwind
colors: {
  custom: {
    50: '#4f6760',
    500: '#0c2e26',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e26;
$custom-light: #4f6760;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e26",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 38
  },
  "hsl": {
    "h": 165.882,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27371,
    "c": 0.04202,
    "h": 174.7
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#0C2E26
secondary
#6A2C3B
accent
#466BE2
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020604
muted
#787A79

Preview Lab

Preview with #0C2E26

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

Preview Lab → · Contrast checker → · Palette generator →

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