#0C4F57#0C4F57

#0C4F57 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.3% C 0.063 H 207.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#0C4F57
RGBrgb(12, 79, 87)
HSLhsl(186, 76%, 19%)
HSVhsv(186, 86%, 34%)
CMYKcmyk(86.2%, 9.2%, 0%, 65.9%)
CIE-LABlab(30.30, -16.46, -10.40)
CIE-LCHlch(30.30, 19.47, 212.28°)
OKLaboklab(39.27% -0.0559 -0.029)
OKLCHoklch(39.27% 0.063 207.4)
XYZxyz(4.6671, 6.3577, 9.9961)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F57 #57140C
analogous
#0C573A #0C4F57 #0C2A57
triadic
#0C4F57 #570C4F #4F570C
tetradic
#0C4F57 #3A0C57 #57140C #2A570C
square
#0C4F57 #3A0C57 #57140C #2A570C
split-complementary
#0C4F57 #570C2A #573A0C
monochromatic
#04181B #051E21 #0C4F57 #13808D #1BB1C3

Accessibility & contrast

On white

9.24
#0C4F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4F57
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F57#FFFFFF#000000##FFFFFF
##0C4F571.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4f57;
/* rgb */ color: rgb(12, 79, 87);
/* oklch */ color: oklch(39.3% 0.063 207.4);
Tailwind
colors: {
  custom: {
    50: '#5b8086',
    500: '#0c4f57',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f57;
$custom-light: #5b8086;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f57",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 87
  },
  "hsl": {
    "h": 186.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39274,
    "c": 0.063,
    "h": 207.4
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#0C4F57
secondary
#92382D
accent
#4A35F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#040A0B
muted
#797C7C

Preview Lab

Preview with #0C4F57

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

Preview Lab → · Contrast checker → · Palette generator →

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