#0C5056#0C5056

#0C5056 is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.5% C 0.063 H 204.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#0C5056
RGBrgb(12, 80, 86)
HSLhsl(185, 76%, 19%)
HSVhsv(185, 86%, 34%)
CMYKcmyk(86%, 7%, 0%, 66.3%)
CIE-LABlab(30.61, -17.39, -9.29)
CIE-LCHlch(30.61, 19.71, 208.12°)
OKLaboklab(39.51% -0.0575 -0.0258)
OKLCHoklch(39.51% 0.063 204.2)
XYZxyz(4.6992, 6.4868, 9.8067)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5056 #56120C
analogous
#0C5637 #0C5056 #0C2B56
triadic
#0C5056 #560C50 #50560C
tetradic
#0C5056 #370C56 #56120C #2B560C
square
#0C5056 #370C56 #56120C #2B560C
split-complementary
#0C5056 #560C2B #56370C
monochromatic
#04191B #051E20 #0C5056 #13828C #1BB4C1

Accessibility & contrast

On white

9.14
#0C5056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#0C5056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5056
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5056#FFFFFF#000000##FFFFFF
##0C50561.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C56
Deuteranopia (green-blind)
#3F4556
Tritanopia (blue-blind)
#005452
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5056;
/* rgb */ color: rgb(12, 80, 86);
/* oklch */ color: oklch(39.5% 0.063 204.2);
Tailwind
colors: {
  custom: {
    50: '#5b8185',
    500: '#0c5056',
    950: '#000000',
  },
}
SCSS
$custom: #0c5056;
$custom-light: #5b8185;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5056",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 86
  },
  "hsl": {
    "h": 184.865,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39513,
    "c": 0.06308,
    "h": 204.2
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#0C5056
secondary
#91352D
accent
#4536F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#040A0B
muted
#797C7C

Preview Lab

Preview with #0C5056

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

Preview Lab → · Contrast checker → · Palette generator →

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