#0C4147#0C4147

#0C4147 is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.5% C 0.053 H 206.3°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#0C4147
RGBrgb(12, 65, 71)
HSLhsl(186, 71%, 16%)
HSVhsv(186, 83%, 28%)
CMYKcmyk(83.1%, 8.5%, 0%, 72.2%)
CIE-LABlab(24.68, -14.26, -8.52)
CIE-LCHlch(24.68, 16.61, 210.87°)
OKLaboklab(34.52% -0.0479 -0.0237)
OKLCHoklch(34.52% 0.053 206.3)
XYZxyz(3.1787, 4.3133, 6.6250)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4147 #47120C
analogous
#0C4730 #0C4147 #0C2447
triadic
#0C4147 #470C41 #41470C
tetradic
#0C4147 #300C47 #47120C #24470C
square
#0C4147 #300C47 #47120C #24470C
split-complementary
#0C4147 #470C24 #47300C
monochromatic
#04181A #04181A #0C4147 #15717B #1EA1B0

Accessibility & contrast

On white

11.27
#0C4147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#0C4147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4147
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4147#FFFFFF#000000##FFFFFF
##0C41471.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E47
Deuteranopia (green-blind)
#323847
Tritanopia (blue-blind)
#004443
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c4147;
/* rgb */ color: rgb(12, 65, 71);
/* oklch */ color: oklch(34.5% 0.053 206.3);
Tailwind
colors: {
  custom: {
    50: '#56757a',
    500: '#0c4147',
    950: '#000000',
  },
}
SCSS
$custom: #0c4147;
$custom-light: #56757a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4147",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 71
  },
  "hsl": {
    "h": 186.102,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3452,
    "c": 0.05344,
    "h": 206.3
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#0C4147
secondary
#83352C
accent
#4C3AEE
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030809
muted
#787B7B

Preview Lab

Preview with #0C4147

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

Preview Lab → · Contrast checker → · Palette generator →

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