#0C4752#0C4752

#0C4752 is a dark, muted teal. Relative luminance 0.052; OKLCH L 36.8% C 0.059 H 213.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#0C4752
RGBrgb(12, 71, 82)
HSLhsl(189, 74%, 18%)
HSVhsv(189, 85%, 32%)
CMYKcmyk(85.4%, 13.4%, 0%, 67.8%)
CIE-LABlab(27.28, -13.69, -11.78)
CIE-LCHlch(27.28, 18.06, 220.70°)
OKLaboklab(36.77% -0.0494 -0.0328)
OKLCHoklch(36.77% 0.059 213.6)
XYZxyz(3.9272, 5.1933, 8.7764)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4752 #52170C
analogous
#0C523A #0C4752 #0C2452
triadic
#0C4752 #520C47 #47520C
tetradic
#0C4752 #3A0C52 #52170C #24520C
square
#0C4752 #3A0C52 #52170C #24520C
split-complementary
#0C4752 #520C24 #523A0C
monochromatic
#04171B #04191D #0C4752 #147587 #1CA3BD

Accessibility & contrast

On white

10.30
#0C4752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#0C4752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4752
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4752#FFFFFF#000000##FFFFFF
##0C47521.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4453
Deuteranopia (green-blind)
#363D52
Tritanopia (blue-blind)
#004B4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4752;
/* rgb */ color: rgb(12, 71, 82);
/* oklch */ color: oklch(36.8% 0.059 213.6);
Tailwind
colors: {
  custom: {
    50: '#597a82',
    500: '#0c4752',
    950: '#000000',
  },
}
SCSS
$custom: #0c4752;
$custom-light: #597a82;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4752",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 82
  },
  "hsl": {
    "h": 189.429,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.36768,
    "c": 0.05935,
    "h": 213.6
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#0C4752
secondary
#8D3C2C
accent
#5437F1
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04090A
muted
#797B7C

Preview Lab

Preview with #0C4752

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

Preview Lab → · Contrast checker → · Palette generator →

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