#0C545F#0C545F

#0C545F is a dark, moderate teal. Relative luminance 0.072; OKLCH L 41.0% C 0.067 H 210.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#0C545F
RGBrgb(12, 84, 95)
HSLhsl(188, 78%, 21%)
HSVhsv(188, 87%, 37%)
CMYKcmyk(87.4%, 11.6%, 0%, 62.7%)
CIE-LABlab(32.36, -16.38, -12.35)
CIE-LCHlch(32.36, 20.51, 217.02°)
OKLaboklab(41.05% -0.0576 -0.0344)
OKLCHoklch(41.05% 0.067 210.9)
XYZxyz(5.3866, 7.2444, 11.9387)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C545F #5F170C
analogous
#0C5F40 #0C545F #0C2A5F
triadic
#0C545F #5F0C54 #545F0C
tetradic
#0C545F #400C5F #5F170C #2A5F0C
square
#0C545F #400C5F #5F170C #2A5F0C
split-complementary
#0C545F #5F0C2A #5F400C
monochromatic
#03181B #052429 #0C545F #138495 #1AB4CC

Accessibility & contrast

On white

8.57
#0C545F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#0C545F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C545F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C545F#FFFFFF#000000##FFFFFF
##0C545F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5160
Deuteranopia (green-blind)
#40495F
Tritanopia (blue-blind)
#005957
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0c545f;
/* rgb */ color: rgb(12, 84, 95);
/* oklch */ color: oklch(41.0% 0.067 210.9);
Tailwind
colors: {
  custom: {
    50: '#5d848c',
    500: '#0c545f',
    950: '#000000',
  },
}
SCSS
$custom: #0c545f;
$custom-light: #5d848c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c545f",
  "rgb": {
    "r": 12,
    "g": 84,
    "b": 95
  },
  "hsl": {
    "h": 187.952,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.06712,
    "h": 210.9
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#0C545F
secondary
#993C2D
accent
#4D34F4
background
#F5F8F8
surface
#EAEFF0
border
#C6CACB
text
#050B0C
muted
#797C7D

Preview Lab

Preview with #0C545F

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

Preview Lab → · Contrast checker → · Palette generator →

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