#0C4742#0C4742

#0C4742 is a dark, muted teal. Relative luminance 0.050; OKLCH L 36.1% C 0.058 H 186.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#0C4742
RGBrgb(12, 71, 66)
HSLhsl(175, 71%, 16%)
HSVhsv(175, 83%, 28%)
CMYKcmyk(83.1%, 0%, 7%, 72.2%)
CIE-LABlab(26.67, -19.38, -2.26)
CIE-LCHlch(26.67, 19.51, 186.66°)
OKLaboklab(36.07% -0.0576 -0.0064)
OKLCHoklch(36.07% 0.058 186.4)
XYZxyz(3.3878, 4.9776, 5.9354)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4742 #470C11
analogous
#0C4725 #0C4742 #0C2F47
triadic
#0C4742 #420C47 #47420C
tetradic
#0C4742 #250C47 #470C11 #2F470C
square
#0C4742 #250C47 #470C11 #2F470C
split-complementary
#0C4742 #470C2F #47250C
monochromatic
#041A18 #041A18 #0C4742 #157B73 #1EB0A3

Accessibility & contrast

On white

10.52
#0C4742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0C4742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4742
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4742#FFFFFF#000000##FFFFFF
##0C47421.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434342
Deuteranopia (green-blind)
#3B3D43
Tritanopia (blue-blind)
#004945
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4742;
/* rgb */ color: rgb(12, 71, 66);
/* oklch */ color: oklch(36.1% 0.058 186.4);
Tailwind
colors: {
  custom: {
    50: '#577a76',
    500: '#0c4742',
    950: '#000000',
  },
}
SCSS
$custom: #0c4742;
$custom-light: #577a76;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4742",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 66
  },
  "hsl": {
    "h": 174.915,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36073,
    "c": 0.05793,
    "h": 186.4
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#0C4742
secondary
#832C33
accent
#3A49EE
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#040908
muted
#797B7B

Preview Lab

Preview with #0C4742

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

Preview Lab → · Contrast checker → · Palette generator →

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