#0C4D51#0C4D51

#0C4D51 is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.4% C 0.061 H 201.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#0C4D51
RGBrgb(12, 77, 81)
HSLhsl(183, 74%, 18%)
HSVhsv(183, 85%, 32%)
CMYKcmyk(85.2%, 4.9%, 0%, 68.2%)
CIE-LABlab(29.36, -17.50, -7.97)
CIE-LCHlch(29.36, 19.23, 204.49°)
OKLaboklab(38.44% -0.0567 -0.0222)
OKLCHoklch(38.44% 0.061 201.4)
XYZxyz(4.2900, 5.9795, 8.7110)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D51 #51100C
analogous
#0C5132 #0C4D51 #0C2A51
triadic
#0C4D51 #510C4D #4D510C
tetradic
#0C4D51 #320C51 #51100C #2A510C
square
#0C4D51 #320C51 #51100C #2A510C
split-complementary
#0C4D51 #510C2A #51320C
monochromatic
#04191B #041A1C #0C4D51 #148086 #1CB2BC

Accessibility & contrast

On white

9.56
#0C4D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#0C4D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D51
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D51#FFFFFF#000000##FFFFFF
##0C4D511.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464951
Deuteranopia (green-blind)
#3D4251
Tritanopia (blue-blind)
#00504E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c4d51;
/* rgb */ color: rgb(12, 77, 81);
/* oklch */ color: oklch(38.4% 0.061 201.4);
Tailwind
colors: {
  custom: {
    50: '#5a7f81',
    500: '#0c4d51',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d51;
$custom-light: #5a7f81;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d51",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 81
  },
  "hsl": {
    "h": 183.478,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38438,
    "c": 0.06085,
    "h": 201.4
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#0C4D51
secondary
#8C322C
accent
#4237F1
background
#F5F7F7
surface
#E9EEEE
border
#C5C9C9
text
#040A0A
muted
#797C7C

Preview Lab

Preview with #0C4D51

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

Preview Lab → · Contrast checker → · Palette generator →

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