#0C4140#0C4140

#0C4140 is a dark, muted teal. Relative luminance 0.042; OKLCH L 34.2% C 0.053 H 193.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#0C4140
RGBrgb(12, 65, 64)
HSLhsl(179, 69%, 15%)
HSVhsv(179, 82%, 25%)
CMYKcmyk(81.5%, 0%, 1.5%, 74.5%)
CIE-LABlab(24.41, -16.76, -4.30)
CIE-LCHlch(24.41, 17.31, 194.37°)
OKLaboklab(34.21% -0.0515 -0.012)
OKLCHoklch(34.21% 0.053 193.1)
XYZxyz(2.9669, 4.2286, 5.5093)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4140 #410C0D
analogous
#0C4125 #0C4140 #0C2741
triadic
#0C4140 #400C41 #41400C
tetradic
#0C4140 #250C41 #410C0D #27410C
square
#0C4140 #250C41 #410C0D #27410C
split-complementary
#0C4140 #410C27 #41250C
monochromatic
#051A19 #051A19 #0C4140 #167573 #1FA8A6

Accessibility & contrast

On white

11.38
#0C4140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#0C4140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4140
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4140#FFFFFF#000000##FFFFFF
##0C41401.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D40
Deuteranopia (green-blind)
#353840
Tritanopia (blue-blind)
#004341
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c4140;
/* rgb */ color: rgb(12, 65, 64);
/* oklch */ color: oklch(34.2% 0.053 193.1);
Tailwind
colors: {
  custom: {
    50: '#567674',
    500: '#0c4140',
    950: '#000000',
  },
}
SCSS
$custom: #0c4140;
$custom-light: #567674;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4140",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 64
  },
  "hsl": {
    "h": 178.868,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34214,
    "c": 0.05288,
    "h": 193.1
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#0C4140
secondary
#7D2C2D
accent
#3C3FEC
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030808
muted
#787B7B

Preview Lab

Preview with #0C4140

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

Preview Lab → · Contrast checker → · Palette generator →

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