#0C362F#0C362F

#0C362F is a dark, muted teal. Relative luminance 0.029; OKLCH L 30.2% C 0.047 H 179.6°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#0C362F
RGBrgb(12, 54, 47)
HSLhsl(170, 64%, 13%)
HSVhsv(170, 78%, 21%)
CMYKcmyk(77.8%, 0%, 13%, 78.8%)
CIE-LABlab(19.73, -16.33, 0.21)
CIE-LCHlch(19.73, 16.34, 179.25°)
OKLaboklab(30.21% -0.0472 0.0003)
OKLCHoklch(30.21% 0.047 179.6)
XYZxyz(1.9836, 2.9215, 3.1481)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C362F #360C13
analogous
#0C361A #0C362F #0C2836
triadic
#0C362F #2F0C36 #362F0C
tetradic
#0C362F #1A0C36 #360C13 #28360C
square
#0C362F #1A0C36 #360C13 #28360C
split-complementary
#0C362F #360C28 #361A0C
monochromatic
#061916 #061916 #0C362F #17685B #229A86

Accessibility & contrast

On white

13.25
#0C362F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C362F
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C362F#FFFFFF#000000##FFFFFF
##0C362F1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322F
Deuteranopia (green-blind)
#2D2E30
Tritanopia (blue-blind)
#003734
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c362f;
/* rgb */ color: rgb(12, 54, 47);
/* oklch */ color: oklch(30.2% 0.047 179.6);
Tailwind
colors: {
  custom: {
    50: '#526d67',
    500: '#0c362f',
    950: '#000000',
  },
}
SCSS
$custom: #0c362f;
$custom-light: #526d67;
$custom-dark: #000000;
JSON
{
  "hex": "#0c362f",
  "rgb": {
    "r": 12,
    "g": 54,
    "b": 47
  },
  "hsl": {
    "h": 170,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30206,
    "c": 0.04723,
    "h": 179.6
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#0C362F
secondary
#722C37
accent
#415DE7
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020706
muted
#787A7A

Preview Lab

Preview with #0C362F

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

Preview Lab → · Contrast checker → · Palette generator →

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