#0C5054#0C5054

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

Color values

HEX#0C5054
RGBrgb(12, 80, 84)
HSLhsl(183, 75%, 19%)
HSVhsv(183, 86%, 33%)
CMYKcmyk(85.7%, 4.8%, 0%, 67.1%)
CIE-LABlab(30.53, -18.10, -8.13)
CIE-LCHlch(30.53, 19.84, 204.18°)
OKLaboklab(39.43% -0.0585 -0.0226)
OKLCHoklch(39.43% 0.063 201.1)
XYZxyz(4.6198, 6.4550, 9.3882)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5054 #54100C
analogous
#0C5434 #0C5054 #0C2C54
triadic
#0C5054 #540C50 #50540C
tetradic
#0C5054 #340C54 #54100C #2C540C
square
#0C5054 #340C54 #54100C #2C540C
split-complementary
#0C5054 #540C2C #54340C
monochromatic
#041A1B #041D1E #0C5054 #14838A #1BB6BF

Accessibility & contrast

On white

9.17
#0C5054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0C5054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5054
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5054#FFFFFF#000000##FFFFFF
##0C50541.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C54
Deuteranopia (green-blind)
#3F4554
Tritanopia (blue-blind)
#005351
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5054;
/* rgb */ color: rgb(12, 80, 84);
/* oklch */ color: oklch(39.4% 0.063 201.1);
Tailwind
colors: {
  custom: {
    50: '#5b8184',
    500: '#0c5054',
    950: '#000000',
  },
}
SCSS
$custom: #0c5054;
$custom-light: #5b8184;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5054",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 84
  },
  "hsl": {
    "h": 183.333,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39426,
    "c": 0.06274,
    "h": 201.1
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#0C5054
secondary
#8F322D
accent
#4136F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#040A0A
muted
#797C7C

Preview Lab

Preview with #0C5054

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

Preview Lab → · Contrast checker → · Palette generator →

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