#0C4C57#0C4C57

#0C4C57 is a dark, moderate teal. Relative luminance 0.059; OKLCH L 38.4% C 0.062 H 212.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#0C4C57
RGBrgb(12, 76, 87)
HSLhsl(189, 76%, 19%)
HSVhsv(189, 86%, 34%)
CMYKcmyk(86.2%, 12.6%, 0%, 65.9%)
CIE-LABlab(29.25, -14.74, -12.00)
CIE-LCHlch(29.25, 19.01, 219.14°)
OKLaboklab(38.42% -0.0526 -0.0335)
OKLCHoklch(38.42% 0.062 212.4)
XYZxyz(4.4556, 5.9346, 9.9256)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C57 #57170C
analogous
#0C573D #0C4C57 #0C2757
triadic
#0C4C57 #570C4C #4C570C
tetradic
#0C4C57 #3D0C57 #57170C #27570C
square
#0C4C57 #3D0C57 #57170C #27570C
split-complementary
#0C4C57 #570C27 #573D0C
monochromatic
#04171B #051D21 #0C4C57 #137B8D #1BAAC3

Accessibility & contrast

On white

9.60
#0C4C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#0C4C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4C57
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4C57#FFFFFF#000000##FFFFFF
##0C4C571.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444958
Deuteranopia (green-blind)
#3A4257
Tritanopia (blue-blind)
#00504F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c4c57;
/* rgb */ color: rgb(12, 76, 87);
/* oklch */ color: oklch(38.4% 0.062 212.4);
Tailwind
colors: {
  custom: {
    50: '#5b7e86',
    500: '#0c4c57',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c57;
$custom-light: #5b7e86;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c57",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 87
  },
  "hsl": {
    "h": 188.8,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38425,
    "c": 0.06238,
    "h": 212.4
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

primary
#0C4C57
secondary
#923C2D
accent
#5135F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#040A0B
muted
#797C7C

Preview Lab

Preview with #0C4C57

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

Preview Lab → · Contrast checker → · Palette generator →

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