#0C4C56#0C4C56

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

Color values

HEX#0C4C56
RGBrgb(12, 76, 86)
HSLhsl(188, 76%, 19%)
HSVhsv(188, 86%, 34%)
CMYKcmyk(86%, 11.6%, 0%, 66.3%)
CIE-LABlab(29.21, -15.12, -11.42)
CIE-LCHlch(29.21, 18.95, 217.07°)
OKLaboklab(38.38% -0.0531 -0.0318)
OKLCHoklch(38.38% 0.062 210.9)
XYZxyz(4.4150, 5.9184, 9.7120)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C56 #56160C
analogous
#0C563B #0C4C56 #0C2756
triadic
#0C4C56 #560C4C #4C560C
tetradic
#0C4C56 #3B0C56 #56160C #27560C
square
#0C4C56 #3B0C56 #56160C #27560C
split-complementary
#0C4C56 #560C27 #563B0C
monochromatic
#04181B #051D20 #0C4C56 #137B8C #1BABC1

Accessibility & contrast

On white

9.62
#0C4C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0C4C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4C56
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4C56#FFFFFF#000000##FFFFFF
##0C4C561.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4c56;
/* rgb */ color: rgb(12, 76, 86);
/* oklch */ color: oklch(38.4% 0.062 210.9);
Tailwind
colors: {
  custom: {
    50: '#5a7e85',
    500: '#0c4c56',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c56;
$custom-light: #5a7e85;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c56",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 86
  },
  "hsl": {
    "h": 188.108,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38378,
    "c": 0.06192,
    "h": 210.9
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#0C4C56
secondary
#913A2D
accent
#4F36F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#040A0B
muted
#797C7C

Preview Lab

Preview with #0C4C56

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

Preview Lab → · Contrast checker → · Palette generator →

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