#0C5344#0C5344

#0C5344 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.7% C 0.071 H 174.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#0C5344
RGBrgb(12, 83, 68)
HSLhsl(167, 75%, 19%)
HSVhsv(167, 86%, 33%)
CMYKcmyk(85.5%, 0%, 18.1%, 67.5%)
CIE-LABlab(31.07, -24.90, 2.87)
CIE-LCHlch(31.07, 25.06, 173.44°)
OKLaboklab(39.69% -0.0703 0.0072)
OKLCHoklch(39.69% 0.071 174.2)
XYZxyz(4.2877, 6.6815, 6.5314)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5344 #530C1B
analogous
#0C5320 #0C5344 #0C3E53
triadic
#0C5344 #440C53 #53440C
tetradic
#0C5344 #200C53 #530C1B #3E530C
square
#0C5344 #200C53 #530C1B #3E530C
split-complementary
#0C5344 #530C3E #53200C
monochromatic
#041B16 #041E18 #0C5344 #148870 #1BBE9C

Accessibility & contrast

On white

8.99
#0C5344 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#0C5344 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5344
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5344#FFFFFF#000000##FFFFFF
##0C53441.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504D43
Deuteranopia (green-blind)
#474645
Tritanopia (blue-blind)
#00544F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5344;
/* rgb */ color: rgb(12, 83, 68);
/* oklch */ color: oklch(39.7% 0.071 174.2);
Tailwind
colors: {
  custom: {
    50: '#5a8477',
    500: '#0c5344',
    950: '#000000',
  },
}
SCSS
$custom: #0c5344;
$custom-light: #5a8477;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5344",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 68
  },
  "hsl": {
    "h": 167.324,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39689,
    "c": 0.07072,
    "h": 174.2
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#0C5344
secondary
#8E2D41
accent
#365EF1
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0C5344

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

Preview Lab → · Contrast checker → · Palette generator →

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