#0C4F56#0C4F56

#0C4F56 is a dark, moderate teal. Relative luminance 0.063; OKLCH L 39.2% C 0.063 H 205.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#0C4F56
RGBrgb(12, 79, 86)
HSLhsl(186, 76%, 19%)
HSVhsv(186, 86%, 34%)
CMYKcmyk(86%, 8.1%, 0%, 66.3%)
CIE-LABlab(30.26, -16.83, -9.82)
CIE-LCHlch(30.26, 19.48, 210.27°)
OKLaboklab(39.23% -0.0564 -0.0273)
OKLCHoklch(39.23% 0.063 205.8)
XYZxyz(4.6266, 6.3414, 9.7825)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F56 #56130C
analogous
#0C5638 #0C4F56 #0C2A56
triadic
#0C4F56 #560C4F #4F560C
tetradic
#0C4F56 #380C56 #56130C #2A560C
square
#0C4F56 #380C56 #56130C #2A560C
split-complementary
#0C4F56 #560C2A #56380C
monochromatic
#04191B #051E20 #0C4F56 #13808C #1BB2C1

Accessibility & contrast

On white

9.26
#0C4F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#0C4F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F56
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F56#FFFFFF#000000##FFFFFF
##0C4F561.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B56
Deuteranopia (green-blind)
#3E4456
Tritanopia (blue-blind)
#005351
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c4f56;
/* rgb */ color: rgb(12, 79, 86);
/* oklch */ color: oklch(39.2% 0.063 205.8);
Tailwind
colors: {
  custom: {
    50: '#5b8085',
    500: '#0c4f56',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f56;
$custom-light: #5b8085;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f56",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 86
  },
  "hsl": {
    "h": 185.676,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.06271,
    "h": 205.8
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#0C4F56
secondary
#91362D
accent
#4836F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#040A0B
muted
#797C7C

Preview Lab

Preview with #0C4F56

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

Preview Lab → · Contrast checker → · Palette generator →

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