#0C5457#0C5457

#0C5457 is a dark, moderate teal. Relative luminance 0.071; OKLCH L 40.7% C 0.065 H 199.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#0C5457
RGBrgb(12, 84, 87)
HSLhsl(182, 76%, 19%)
HSVhsv(182, 86%, 34%)
CMYKcmyk(86.2%, 3.4%, 0%, 65.9%)
CIE-LABlab(32.05, -19.24, -7.76)
CIE-LCHlch(32.05, 20.74, 201.96°)
OKLaboklab(40.69% -0.0615 -0.0216)
OKLCHoklch(40.69% 0.065 199.3)
XYZxyz(5.0415, 7.1063, 10.1209)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5457 #570F0C
analogous
#0C5735 #0C5457 #0C2F57
triadic
#0C5457 #570C54 #54570C
tetradic
#0C5457 #350C57 #570F0C #2F570C
square
#0C5457 #350C57 #570F0C #2F570C
split-complementary
#0C5457 #570C2F #57350C
monochromatic
#041A1B #052021 #0C5457 #13888D #1BBCC3

Accessibility & contrast

On white

8.67
#0C5457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#0C5457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5457
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5457#FFFFFF#000000##FFFFFF
##0C54571.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5057
Deuteranopia (green-blind)
#434857
Tritanopia (blue-blind)
#005755
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c5457;
/* rgb */ color: rgb(12, 84, 87);
/* oklch */ color: oklch(40.7% 0.065 199.3);
Tailwind
colors: {
  custom: {
    50: '#5c8486',
    500: '#0c5457',
    950: '#000000',
  },
}
SCSS
$custom: #0c5457;
$custom-light: #5c8486;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5457",
  "rgb": {
    "r": 12,
    "g": 84,
    "b": 87
  },
  "hsl": {
    "h": 182.4,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40692,
    "c": 0.06514,
    "h": 199.3
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#0C5457
secondary
#92312D
accent
#3D35F2
background
#F5F8F8
surface
#E9EFEF
border
#C5CACA
text
#050B0B
muted
#797C7C

Preview Lab

Preview with #0C5457

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

Preview Lab → · Contrast checker → · Palette generator →

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