#0C4751#0C4751

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

Color values

HEX#0C4751
RGBrgb(12, 71, 81)
HSLhsl(189, 74%, 18%)
HSVhsv(189, 85%, 32%)
CMYKcmyk(85.2%, 12.3%, 0%, 68.2%)
CIE-LABlab(27.24, -14.06, -11.19)
CIE-LCHlch(27.24, 17.97, 218.51°)
OKLaboklab(36.72% -0.0499 -0.0312)
OKLCHoklch(36.72% 0.059 212)
XYZxyz(3.8894, 5.1782, 8.5775)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4751 #51160C
analogous
#0C5138 #0C4751 #0C2451
triadic
#0C4751 #510C47 #47510C
tetradic
#0C4751 #380C51 #51160C #24510C
square
#0C4751 #380C51 #51160C #24510C
split-complementary
#0C4751 #510C24 #51380C
monochromatic
#04171B #04181C #0C4751 #147686 #1CA4BC

Accessibility & contrast

On white

10.32
#0C4751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4751
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4751#FFFFFF#000000##FFFFFF
##0C47511.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4751;
/* rgb */ color: rgb(12, 71, 81);
/* oklch */ color: oklch(36.7% 0.059 212.0);
Tailwind
colors: {
  custom: {
    50: '#597a81',
    500: '#0c4751',
    950: '#000000',
  },
}
SCSS
$custom: #0c4751;
$custom-light: #597a81;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4751",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 81
  },
  "hsl": {
    "h": 188.696,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3672,
    "c": 0.05886,
    "h": 212
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#0C4751
secondary
#8C3A2C
accent
#5237F1
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04090A
muted
#797B7C

Preview Lab

Preview with #0C4751

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

Preview Lab → · Contrast checker → · Palette generator →

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