#0C4148#0C4148

#0C4148 is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.6% C 0.054 H 208.2°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#0C4148
RGBrgb(12, 65, 72)
HSLhsl(187, 71%, 16%)
HSVhsv(187, 83%, 28%)
CMYKcmyk(83.3%, 9.7%, 0%, 71.8%)
CIE-LABlab(24.72, -13.89, -9.12)
CIE-LCHlch(24.72, 16.62, 213.30°)
OKLaboklab(34.57% -0.0474 -0.0254)
OKLCHoklch(34.57% 0.054 208.2)
XYZxyz(3.2111, 4.3262, 6.7954)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4148 #48130C
analogous
#0C4831 #0C4148 #0C2348
triadic
#0C4148 #480C41 #41480C
tetradic
#0C4148 #310C48 #48130C #23480C
square
#0C4148 #310C48 #48130C #23480C
split-complementary
#0C4148 #480C23 #48310C
monochromatic
#04181A #04181A #0C4148 #15707C #1DA0B1

Accessibility & contrast

On white

11.26
#0C4148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#0C4148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4148
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4148#FFFFFF#000000##FFFFFF
##0C41481.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4148;
/* rgb */ color: rgb(12, 65, 72);
/* oklch */ color: oklch(34.6% 0.054 208.2);
Tailwind
colors: {
  custom: {
    50: '#57757b',
    500: '#0c4148',
    950: '#000000',
  },
}
SCSS
$custom: #0c4148;
$custom-light: #57757b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4148",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 72
  },
  "hsl": {
    "h": 187,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34566,
    "c": 0.05377,
    "h": 208.2
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0C4148

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

Preview Lab → · Contrast checker → · Palette generator →

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