#0C4D57#0C4D57

#0C4D57 is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.7% C 0.063 H 210.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#0C4D57
RGBrgb(12, 77, 87)
HSLhsl(188, 76%, 19%)
HSVhsv(188, 86%, 34%)
CMYKcmyk(86.2%, 11.5%, 0%, 65.9%)
CIE-LABlab(29.60, -15.32, -11.47)
CIE-LCHlch(29.60, 19.14, 216.80°)
OKLaboklab(38.71% -0.0537 -0.032)
OKLCHoklch(38.71% 0.063 210.7)
XYZxyz(4.5250, 6.0735, 9.9488)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D57 #57160C
analogous
#0C573C #0C4D57 #0C2857
triadic
#0C4D57 #570C4D #4D570C
tetradic
#0C4D57 #3C0C57 #57160C #28570C
square
#0C4D57 #3C0C57 #57160C #28570C
split-complementary
#0C4D57 #570C28 #573C0C
monochromatic
#04181B #051D21 #0C4D57 #137D8D #1BACC3

Accessibility & contrast

On white

9.48
#0C4D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0C4D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D57
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D57#FFFFFF#000000##FFFFFF
##0C4D571.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A58
Deuteranopia (green-blind)
#3B4357
Tritanopia (blue-blind)
#005150
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c4d57;
/* rgb */ color: rgb(12, 77, 87);
/* oklch */ color: oklch(38.7% 0.063 210.7);
Tailwind
colors: {
  custom: {
    50: '#5b7f86',
    500: '#0c4d57',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d57;
$custom-light: #5b7f86;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d57",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 87
  },
  "hsl": {
    "h": 188,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38708,
    "c": 0.06253,
    "h": 210.7
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#0C4D57
secondary
#923A2D
accent
#4F35F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#040A0B
muted
#797C7C

Preview Lab

Preview with #0C4D57

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

Preview Lab → · Contrast checker → · Palette generator →

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