#0C3A2C#0C3A2C

#0C3A2C is a dark, muted teal. Relative luminance 0.033; OKLCH L 31.3% C 0.055 H 168.5°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#0C3A2C
RGBrgb(12, 58, 44)
HSLhsl(162, 66%, 14%)
HSVhsv(162, 79%, 23%)
CMYKcmyk(79.3%, 0%, 24.1%, 77.3%)
CIE-LABlab(21.15, -19.42, 4.30)
CIE-LCHlch(21.15, 19.89, 167.52°)
OKLaboklab(31.34% -0.0541 0.011)
OKLCHoklch(31.34% 0.055 168.5)
XYZxyz(2.1191, 3.2859, 2.9049)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3A2C #3A0C1A
analogous
#0C3A15 #0C3A2C #0C313A
triadic
#0C3A2C #2C0C3A #3A2C0C
tetradic
#0C3A2C #150C3A #3A0C1A #313A0C
square
#0C3A2C #150C3A #3A0C1A #313A0C
split-complementary
#0C3A2C #3A0C31 #3A150C
monochromatic
#051913 #051913 #0C3A2C #166D52 #219F79

Accessibility & contrast

On white

12.67
#0C3A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0C3A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3A2C
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3A2C#FFFFFF#000000##FFFFFF
##0C3A2C1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352B
Deuteranopia (green-blind)
#32312D
Tritanopia (blue-blind)
#003A36
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c3a2c;
/* rgb */ color: rgb(12, 58, 44);
/* oklch */ color: oklch(31.3% 0.055 168.5);
Tailwind
colors: {
  custom: {
    50: '#527065',
    500: '#0c3a2c',
    950: '#000000',
  },
}
SCSS
$custom: #0c3a2c;
$custom-light: #527065;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3a2c",
  "rgb": {
    "r": 12,
    "g": 58,
    "b": 44
  },
  "hsl": {
    "h": 161.739,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31341,
    "c": 0.05518,
    "h": 168.5
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#0C3A2C
secondary
#762C42
accent
#3F73E9
background
#F4F6F6
surface
#E7ECEB
border
#C3C7C6
text
#030705
muted
#787A7A

Preview Lab

Preview with #0C3A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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