#0C2E27#0C2E27

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

Color values

HEX#0C2E27
RGBrgb(12, 46, 39)
HSLhsl(168, 59%, 11%)
HSVhsv(168, 74%, 18%)
CMYKcmyk(73.9%, 0%, 15.2%, 82%)
CIE-LABlab(16.40, -14.38, 0.89)
CIE-LCHlch(16.40, 14.40, 176.47°)
OKLaboklab(27.41% -0.0412 0.0021)
OKLCHoklch(27.41% 0.041 177)
XYZxyz(1.4947, 2.1785, 2.2608)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E27 #2E0C13
analogous
#0C2E16 #0C2E27 #0C242E
triadic
#0C2E27 #270C2E #2E270C
tetradic
#0C2E27 #160C2E #2E0C13 #242E0C
square
#0C2E27 #160C2E #2E0C13 #242E0C
split-complementary
#0C2E27 #2E0C24 #2E160C
monochromatic
#061815 #061815 #0C2E27 #195F50 #258F79

Accessibility & contrast

On white

14.63
#0C2E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0C2E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E27
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E27#FFFFFF#000000##FFFFFF
##0C2E271.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2e27;
/* rgb */ color: rgb(12, 46, 39);
/* oklch */ color: oklch(27.4% 0.041 177.0);
Tailwind
colors: {
  custom: {
    50: '#4f6761',
    500: '#0c2e27',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e27;
$custom-light: #4f6761;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e27",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 167.647,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27408,
    "c": 0.0413,
    "h": 177
  },
  "luminance": 0.02179
}

Semantic roles & 50–950 ramp

primary
#0C2E27
secondary
#6A2C39
accent
#4666E2
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020605
muted
#787A79

Preview Lab

Preview with #0C2E27

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

Preview Lab → · Contrast checker → · Palette generator →

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