#0C4045#0C4045

#0C4045 is a dark, muted teal. Relative luminance 0.042; OKLCH L 34.1% C 0.052 H 204.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#0C4045
RGBrgb(12, 64, 69)
HSLhsl(185, 70%, 16%)
HSVhsv(185, 83%, 27%)
CMYKcmyk(82.6%, 7.2%, 0%, 72.9%)
CIE-LABlab(24.24, -14.41, -7.87)
CIE-LCHlch(24.24, 16.42, 208.64°)
OKLaboklab(34.14% -0.0477 -0.0219)
OKLCHoklch(34.14% 0.052 204.6)
XYZxyz(3.0587, 4.1743, 6.2736)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4045 #45110C
analogous
#0C452D #0C4045 #0C2345
triadic
#0C4045 #450C40 #40450C
tetradic
#0C4045 #2D0C45 #45110C #23450C
square
#0C4045 #2D0C45 #45110C #23450C
split-complementary
#0C4045 #450C23 #452D0C
monochromatic
#05181A #05181A #0C4045 #157079 #1EA1AD

Accessibility & contrast

On white

11.44
#0C4045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#0C4045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4045
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4045#FFFFFF#000000##FFFFFF
##0C40451.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4045;
/* rgb */ color: rgb(12, 64, 69);
/* oklch */ color: oklch(34.1% 0.052 204.6);
Tailwind
colors: {
  custom: {
    50: '#567578',
    500: '#0c4045',
    950: '#000000',
  },
}
SCSS
$custom: #0c4045;
$custom-light: #567578;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4045",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 69
  },
  "hsl": {
    "h": 185.263,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34136,
    "c": 0.05249,
    "h": 204.6
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#0C4045
secondary
#81332C
accent
#4A3BED
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030809
muted
#787B7B

Preview Lab

Preview with #0C4045

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

Preview Lab → · Contrast checker → · Palette generator →

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