#0C372A#0C372A

#0C372A is a dark, muted teal. Relative luminance 0.030; OKLCH L 30.3% C 0.052 H 168.9°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#0C372A
RGBrgb(12, 55, 42)
HSLhsl(162, 64%, 13%)
HSVhsv(162, 78%, 22%)
CMYKcmyk(78.2%, 0%, 23.6%, 78.4%)
CIE-LABlab(19.95, -18.43, 3.94)
CIE-LCHlch(19.95, 18.85, 167.94°)
OKLaboklab(30.34% -0.0514 0.0101)
OKLCHoklch(30.34% 0.052 168.9)
XYZxyz(1.9355, 2.9775, 2.6627)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C372A #370C19
analogous
#0C3714 #0C372A #0C2E37
triadic
#0C372A #2A0C37 #372A0C
tetradic
#0C372A #140C37 #370C19 #2E370C
square
#0C372A #140C37 #370C19 #2E370C
split-complementary
#0C372A #370C2E #37140C
monochromatic
#051913 #051913 #0C372A #176950 #229B77

Accessibility & contrast

On white

13.16
#0C372A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C372A
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C372A#FFFFFF#000000##FFFFFF
##0C372A1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353329
Deuteranopia (green-blind)
#2F2E2B
Tritanopia (blue-blind)
#003733
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c372a;
/* rgb */ color: rgb(12, 55, 42);
/* oklch */ color: oklch(30.3% 0.052 168.9);
Tailwind
colors: {
  custom: {
    50: '#526e63',
    500: '#0c372a',
    950: '#000000',
  },
}
SCSS
$custom: #0c372a;
$custom-light: #526e63;
$custom-dark: #000000;
JSON
{
  "hex": "#0c372a",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 42
  },
  "hsl": {
    "h": 161.86,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.3034,
    "c": 0.05239,
    "h": 168.9
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#0C372A
secondary
#732C41
accent
#4173E7
background
#F4F6F5
surface
#E7ECEA
border
#C3C7C6
text
#020705
muted
#787A79

Preview Lab

Preview with #0C372A

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

Preview Lab → · Contrast checker → · Palette generator →

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