#0C362A#0C362A

#0C362A is a dark, muted teal. Relative luminance 0.029; OKLCH L 30.0% C 0.051 H 170.2°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#0C362A
RGBrgb(12, 54, 42)
HSLhsl(163, 64%, 13%)
HSVhsv(163, 78%, 21%)
CMYKcmyk(77.8%, 0%, 22.2%, 78.8%)
CIE-LABlab(19.57, -17.90, 3.39)
CIE-LCHlch(19.57, 18.22, 169.27°)
OKLaboklab(30.03% -0.0501 0.0087)
OKLCHoklch(30.03% 0.051 170.2)
XYZxyz(1.8885, 2.8835, 2.6471)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C362A #360C18
analogous
#0C3615 #0C362A #0C2D36
triadic
#0C362A #2A0C36 #362A0C
tetradic
#0C362A #150C36 #360C18 #2D360C
square
#0C362A #150C36 #360C18 #2D360C
split-complementary
#0C362A #360C2D #36150C
monochromatic
#061913 #061913 #0C362A #176851 #229A78

Accessibility & contrast

On white

13.32
#0C362A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0C362A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C362A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C362A#FFFFFF#000000##FFFFFF
##0C362A1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343229
Deuteranopia (green-blind)
#2E2E2B
Tritanopia (blue-blind)
#003633
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0c362a;
/* rgb */ color: rgb(12, 54, 42);
/* oklch */ color: oklch(30.0% 0.051 170.2);
Tailwind
colors: {
  custom: {
    50: '#516d63',
    500: '#0c362a',
    950: '#000000',
  },
}
SCSS
$custom: #0c362a;
$custom-light: #516d63;
$custom-dark: #000000;
JSON
{
  "hex": "#0c362a",
  "rgb": {
    "r": 12,
    "g": 54,
    "b": 42
  },
  "hsl": {
    "h": 162.857,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30027,
    "c": 0.05087,
    "h": 170.2
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#0C362A
secondary
#722C40
accent
#4170E7
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020705
muted
#787A79

Preview Lab

Preview with #0C362A

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

Preview Lab → · Contrast checker → · Palette generator →

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