#0C4245#0C4245

#0C4245 is a dark, muted teal. Relative luminance 0.044; OKLCH L 34.7% C 0.054 H 200.6°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#0C4245
RGBrgb(12, 66, 69)
HSLhsl(183, 70%, 16%)
HSVhsv(183, 83%, 27%)
CMYKcmyk(82.6%, 4.3%, 0%, 72.9%)
CIE-LABlab(24.96, -15.57, -6.78)
CIE-LCHlch(24.96, 16.98, 203.52°)
OKLaboklab(34.72% -0.0501 -0.0188)
OKLCHoklch(34.72% 0.054 200.6)
XYZxyz(3.1735, 4.4039, 6.3118)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4245 #450F0C
analogous
#0C452B #0C4245 #0C2545
triadic
#0C4245 #450C42 #42450C
tetradic
#0C4245 #2B0C45 #450F0C #25450C
square
#0C4245 #2B0C45 #450F0C #25450C
split-complementary
#0C4245 #450C25 #452B0C
monochromatic
#05191A #05191A #0C4245 #157479 #1EA6AD

Accessibility & contrast

On white

11.17
#0C4245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#0C4245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4245
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4245#FFFFFF#000000##FFFFFF
##0C42451.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F45
Deuteranopia (green-blind)
#343945
Tritanopia (blue-blind)
#004543
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c4245;
/* rgb */ color: rgb(12, 66, 69);
/* oklch */ color: oklch(34.7% 0.054 200.6);
Tailwind
colors: {
  custom: {
    50: '#567678',
    500: '#0c4245',
    950: '#000000',
  },
}
SCSS
$custom: #0c4245;
$custom-light: #567678;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4245",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 69
  },
  "hsl": {
    "h": 183.158,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34723,
    "c": 0.05351,
    "h": 200.6
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#0C4245
secondary
#81302C
accent
#443BED
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030809
muted
#787B7B

Preview Lab

Preview with #0C4245

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

Preview Lab → · Contrast checker → · Palette generator →

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