#0C4B47#0C4B47

#0C4B47 is a dark, moderate teal. Relative luminance 0.056; OKLCH L 37.4% C 0.060 H 188.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#0C4B47
RGBrgb(12, 75, 71)
HSLhsl(176, 72%, 17%)
HSVhsv(176, 84%, 29%)
CMYKcmyk(84%, 0%, 5.3%, 70.6%)
CIE-LABlab(28.29, -19.85, -3.12)
CIE-LCHlch(28.29, 20.10, 188.94°)
OKLaboklab(37.45% -0.0595 -0.0088)
OKLCHoklch(37.45% 0.06 188.4)
XYZxyz(3.8045, 5.5648, 6.8336)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B47 #4B0C10
analogous
#0C4B27 #0C4B47 #0C304B
triadic
#0C4B47 #470C4B #4B470C
tetradic
#0C4B47 #270C4B #4B0C10 #304B0C
square
#0C4B47 #270C4B #4B0C10 #304B0C
split-complementary
#0C4B47 #4B0C30 #4B270C
monochromatic
#041A19 #041A19 #0C4B47 #148079 #1DB5AB

Accessibility & contrast

On white

9.94
#0C4B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0C4B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B47
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B47#FFFFFF#000000##FFFFFF
##0C4B471.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464647
Deuteranopia (green-blind)
#3E4048
Tritanopia (blue-blind)
#004D4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4b47;
/* rgb */ color: rgb(12, 75, 71);
/* oklch */ color: oklch(37.4% 0.060 188.4);
Tailwind
colors: {
  custom: {
    50: '#587d7a',
    500: '#0c4b47',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b47;
$custom-light: #587d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b47",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 71
  },
  "hsl": {
    "h": 176.19,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37446,
    "c": 0.0602,
    "h": 188.4
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#0C4B47
secondary
#872C32
accent
#3944EF
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0C4B47

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

Preview Lab → · Contrast checker → · Palette generator →

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