#0C372D#0C372D

#0C372D is a dark, muted teal. Relative luminance 0.030; OKLCH L 30.4% C 0.050 H 174.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#0C372D
RGBrgb(12, 55, 45)
HSLhsl(166, 64%, 13%)
HSVhsv(166, 78%, 22%)
CMYKcmyk(78.2%, 0%, 18.2%, 78.4%)
CIE-LABlab(20.04, -17.52, 2.03)
CIE-LCHlch(20.04, 17.64, 173.38°)
OKLaboklab(30.44% -0.0497 0.0051)
OKLCHoklch(30.44% 0.05 174.1)
XYZxyz(1.9912, 2.9998, 2.9562)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C372D #370C16
analogous
#0C3717 #0C372D #0C2B37
triadic
#0C372D #2D0C37 #372D0C
tetradic
#0C372D #170C37 #370C16 #2B370C
square
#0C372D #170C37 #370C16 #2B370C
split-complementary
#0C372D #370C2B #37170C
monochromatic
#051915 #051915 #0C372D #176956 #229B7F

Accessibility & contrast

On white

13.13
#0C372D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0C372D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C372D
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C372D#FFFFFF#000000##FFFFFF
##0C372D1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332D
Deuteranopia (green-blind)
#2F2F2E
Tritanopia (blue-blind)
#003834
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c372d;
/* rgb */ color: rgb(12, 55, 45);
/* oklch */ color: oklch(30.4% 0.050 174.1);
Tailwind
colors: {
  custom: {
    50: '#526e65',
    500: '#0c372d',
    950: '#000000',
  },
}
SCSS
$custom: #0c372d;
$custom-light: #526e65;
$custom-dark: #000000;
JSON
{
  "hex": "#0c372d",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 45
  },
  "hsl": {
    "h": 166.047,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30443,
    "c": 0.04993,
    "h": 174.1
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#0C372D
secondary
#732C3C
accent
#4167E7
background
#F4F6F6
surface
#E7ECEB
border
#C3C7C6
text
#020705
muted
#787A7A

Preview Lab

Preview with #0C372D

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

Preview Lab → · Contrast checker → · Palette generator →

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