#0C4950#0C4950

#0C4950 is a dark, muted teal. Relative luminance 0.054; OKLCH L 37.2% C 0.059 H 206.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#0C4950
RGBrgb(12, 73, 80)
HSLhsl(186, 74%, 18%)
HSVhsv(186, 85%, 31%)
CMYKcmyk(85%, 8.8%, 0%, 68.6%)
CIE-LABlab(27.90, -15.59, -9.53)
CIE-LCHlch(27.90, 18.27, 211.42°)
OKLaboklab(37.25% -0.0526 -0.0265)
OKLCHoklch(37.25% 0.059 206.7)
XYZxyz(3.9815, 5.4219, 8.4246)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4950 #50130C
analogous
#0C5035 #0C4950 #0C2750
triadic
#0C4950 #500C49 #49500C
tetradic
#0C4950 #350C50 #50130C #27500C
square
#0C4950 #350C50 #50130C #27500C
split-complementary
#0C4950 #500C27 #50350C
monochromatic
#04181B #04181B #0C4950 #147A85 #1CAABA

Accessibility & contrast

On white

10.07
#0C4950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0C4950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4950
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4950#FFFFFF#000000##FFFFFF
##0C49501.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424650
Deuteranopia (green-blind)
#393F50
Tritanopia (blue-blind)
#004D4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4950;
/* rgb */ color: rgb(12, 73, 80);
/* oklch */ color: oklch(37.2% 0.059 206.7);
Tailwind
colors: {
  custom: {
    50: '#597c81',
    500: '#0c4950',
    950: '#000000',
  },
}
SCSS
$custom: #0c4950;
$custom-light: #597c81;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4950",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 80
  },
  "hsl": {
    "h": 186.176,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37246,
    "c": 0.05895,
    "h": 206.7
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#0C4950
secondary
#8B362C
accent
#4A37F1
background
#F5F7F7
surface
#E9EEEE
border
#C5C9C9
text
#04090A
muted
#797B7C

Preview Lab

Preview with #0C4950

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

Preview Lab → · Contrast checker → · Palette generator →

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