#0C2E1E#0C2E1E

#0C2E1E is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.1% C 0.050 H 159.8°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#0C2E1E
RGBrgb(12, 46, 30)
HSLhsl(152, 59%, 11%)
HSVhsv(152, 74%, 18%)
CMYKcmyk(73.9%, 0%, 34.8%, 82%)
CIE-LABlab(16.13, -17.04, 6.76)
CIE-LCHlch(16.13, 18.33, 158.36°)
OKLaboklab(27.11% -0.0466 0.0172)
OKLCHoklch(27.11% 0.05 159.8)
XYZxyz(1.3628, 2.1258, 1.5665)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E1E #2E0C1C
analogous
#0C2E0D #0C2E1E #0C2D2E
triadic
#0C2E1E #1E0C2E #2E1E0C
tetradic
#0C2E1E #0D0C2E #2E0C1C #2D2E0C
square
#0C2E1E #0D0C2E #2E0C1C #2D2E0C
split-complementary
#0C2E1E #2E0C2D #2E0D0C
monochromatic
#061810 #061810 #0C2E1E #195F3E #258F5D

Accessibility & contrast

On white

14.73
#0C2E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2E1E
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E1E#FFFFFF#000000##FFFFFF
##0C2E1E1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A1D
Deuteranopia (green-blind)
#29271F
Tritanopia (blue-blind)
#012E2A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2e1e;
/* rgb */ color: rgb(12, 46, 30);
/* oklch */ color: oklch(27.1% 0.050 159.8);
Tailwind
colors: {
  custom: {
    50: '#4f6759',
    500: '#0c2e1e',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e1e;
$custom-light: #4f6759;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e1e",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 30
  },
  "hsl": {
    "h": 151.765,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27106,
    "c": 0.04967,
    "h": 159.8
  },
  "luminance": 0.02126
}

Semantic roles & 50–950 ramp

primary
#0C2E1E
secondary
#6A2C49
accent
#468FE2
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C2E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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