#0C4047#0C4047

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

Color values

HEX#0C4047
RGBrgb(12, 64, 71)
HSLhsl(187, 71%, 16%)
HSVhsv(187, 83%, 28%)
CMYKcmyk(83.1%, 9.9%, 0%, 72.2%)
CIE-LABlab(24.32, -13.67, -9.07)
CIE-LCHlch(24.32, 16.40, 213.57°)
OKLaboklab(34.23% -0.0467 -0.0252)
OKLCHoklch(34.23% 0.053 208.4)
XYZxyz(3.1219, 4.1995, 6.6061)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4047 #47130C
analogous
#0C4731 #0C4047 #0C2347
triadic
#0C4047 #470C40 #40470C
tetradic
#0C4047 #310C47 #47130C #23470C
square
#0C4047 #310C47 #47130C #23470C
split-complementary
#0C4047 #470C23 #47310C
monochromatic
#04181A #04181A #0C4047 #156F7B #1E9EB0

Accessibility & contrast

On white

11.41
#0C4047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4047
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4047#FFFFFF#000000##FFFFFF
##0C40471.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4047;
/* rgb */ color: rgb(12, 64, 71);
/* oklch */ color: oklch(34.2% 0.053 208.4);
Tailwind
colors: {
  custom: {
    50: '#56757a',
    500: '#0c4047',
    950: '#000000',
  },
}
SCSS
$custom: #0c4047;
$custom-light: #56757a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4047",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 71
  },
  "hsl": {
    "h": 187.119,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34228,
    "c": 0.0531,
    "h": 208.4
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#0C4047
secondary
#83362C
accent
#4F3AEE
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030809
muted
#787B7B

Preview Lab

Preview with #0C4047

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

Preview Lab → · Contrast checker → · Palette generator →

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