#0C4B45#0C4B45

#0C4B45 is a dark, moderate teal. Relative luminance 0.055; OKLCH L 37.4% C 0.061 H 185.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#0C4B45
RGBrgb(12, 75, 69)
HSLhsl(174, 72%, 17%)
HSVhsv(174, 84%, 29%)
CMYKcmyk(84%, 0%, 8%, 70.6%)
CIE-LABlab(28.22, -20.52, -1.93)
CIE-LCHlch(28.22, 20.61, 185.37°)
OKLaboklab(37.37% -0.0606 -0.0055)
OKLCHoklch(37.37% 0.061 185.2)
XYZxyz(3.7414, 5.5395, 6.5011)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B45 #4B0C12
analogous
#0C4B26 #0C4B45 #0C324B
triadic
#0C4B45 #450C4B #4B450C
tetradic
#0C4B45 #260C4B #4B0C12 #324B0C
square
#0C4B45 #260C4B #4B0C12 #324B0C
split-complementary
#0C4B45 #4B0C32 #4B260C
monochromatic
#041A18 #041A18 #0C4B45 #148076 #1DB5A6

Accessibility & contrast

On white

9.96
#0C4B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4B45
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B45#FFFFFF#000000##FFFFFF
##0C4B451.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474645
Deuteranopia (green-blind)
#3E4046
Tritanopia (blue-blind)
#004D49
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4b45;
/* rgb */ color: rgb(12, 75, 69);
/* oklch */ color: oklch(37.4% 0.061 185.2);
Tailwind
colors: {
  custom: {
    50: '#587d78',
    500: '#0c4b45',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b45;
$custom-light: #587d78;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b45",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 69
  },
  "hsl": {
    "h": 174.286,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37369,
    "c": 0.06087,
    "h": 185.2
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#0C4B45
secondary
#872C35
accent
#394AEF
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0C4B45

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

Preview Lab → · Contrast checker → · Palette generator →

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