#0C4046#0C4046

#0C4046 is a dark, muted teal. Relative luminance 0.042; OKLCH L 34.2% C 0.053 H 206.5°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#0C4046
RGBrgb(12, 64, 70)
HSLhsl(186, 71%, 16%)
HSVhsv(186, 83%, 27%)
CMYKcmyk(82.9%, 8.6%, 0%, 72.5%)
CIE-LABlab(24.28, -14.04, -8.47)
CIE-LCHlch(24.28, 16.40, 211.10°)
OKLaboklab(34.18% -0.0472 -0.0236)
OKLCHoklch(34.18% 0.053 206.5)
XYZxyz(3.0900, 4.1868, 6.4384)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4046 #46120C
analogous
#0C462F #0C4046 #0C2346
triadic
#0C4046 #460C40 #40460C
tetradic
#0C4046 #2F0C46 #46120C #23460C
square
#0C4046 #2F0C46 #46120C #23460C
split-complementary
#0C4046 #460C23 #462F0C
monochromatic
#04181A #04181A #0C4046 #15707A #1EA0AE

Accessibility & contrast

On white

11.43
#0C4046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4046
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4046#FFFFFF#000000##FFFFFF
##0C40461.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3D46
Deuteranopia (green-blind)
#323746
Tritanopia (blue-blind)
#004342
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c4046;
/* rgb */ color: rgb(12, 64, 70);
/* oklch */ color: oklch(34.2% 0.053 206.5);
Tailwind
colors: {
  custom: {
    50: '#567579',
    500: '#0c4046',
    950: '#000000',
  },
}
SCSS
$custom: #0c4046;
$custom-light: #567579;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4046",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 70
  },
  "hsl": {
    "h": 186.207,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34182,
    "c": 0.05277,
    "h": 206.5
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#0C4046
secondary
#82352C
accent
#4D3AED
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030809
muted
#787B7B

Preview Lab

Preview with #0C4046

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

Preview Lab → · Contrast checker → · Palette generator →

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