#0C5155#0C5155

#0C5155 is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.8% C 0.063 H 201.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#0C5155
RGBrgb(12, 81, 85)
HSLhsl(183, 75%, 19%)
HSVhsv(183, 86%, 33%)
CMYKcmyk(85.9%, 4.7%, 0%, 66.7%)
CIE-LABlab(30.92, -18.30, -8.18)
CIE-LCHlch(30.92, 20.04, 204.09°)
OKLaboklab(39.75% -0.0591 -0.0227)
OKLCHoklch(39.75% 0.063 201)
XYZxyz(4.7330, 6.6183, 9.6206)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5155 #55100C
analogous
#0C5535 #0C5155 #0C2D55
triadic
#0C5155 #550C51 #51550C
tetradic
#0C5155 #350C55 #55100C #2D550C
square
#0C5155 #350C55 #55100C #2D550C
split-complementary
#0C5155 #550C2D #55350C
monochromatic
#041A1B #041E1F #0C5155 #14848B #1BB7C0

Accessibility & contrast

On white

9.04
#0C5155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#0C5155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5155
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5155#FFFFFF#000000##FFFFFF
##0C51551.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D55
Deuteranopia (green-blind)
#404655
Tritanopia (blue-blind)
#005452
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5155;
/* rgb */ color: rgb(12, 81, 85);
/* oklch */ color: oklch(39.8% 0.063 201.0);
Tailwind
colors: {
  custom: {
    50: '#5b8284',
    500: '#0c5155',
    950: '#000000',
  },
}
SCSS
$custom: #0c5155;
$custom-light: #5b8284;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5155",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 85
  },
  "hsl": {
    "h": 183.288,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39754,
    "c": 0.06337,
    "h": 201
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#0C5155
secondary
#90322D
accent
#4036F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#040A0B
muted
#797C7C

Preview Lab

Preview with #0C5155

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

Preview Lab → · Contrast checker → · Palette generator →

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