#0C3A2F#0C3A2F

#0C3A2F is a dark, muted teal. Relative luminance 0.033; OKLCH L 31.4% C 0.053 H 173.4°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#0C3A2F
RGBrgb(12, 58, 47)
HSLhsl(166, 66%, 14%)
HSVhsv(166, 79%, 23%)
CMYKcmyk(79.3%, 0%, 19%, 77.3%)
CIE-LABlab(21.24, -18.52, 2.41)
CIE-LCHlch(21.24, 18.68, 172.59°)
OKLaboklab(31.44% -0.0523 0.0061)
OKLCHoklch(31.44% 0.053 173.4)
XYZxyz(2.1775, 3.3093, 3.2128)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3A2F #3A0C17
analogous
#0C3A18 #0C3A2F #0C2E3A
triadic
#0C3A2F #2F0C3A #3A2F0C
tetradic
#0C3A2F #180C3A #3A0C17 #2E3A0C
square
#0C3A2F #180C3A #3A0C17 #2E3A0C
split-complementary
#0C3A2F #3A0C2E #3A180C
monochromatic
#051915 #051915 #0C3A2F #166D58 #219F81

Accessibility & contrast

On white

12.64
#0C3A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3A2F
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3A2F#FFFFFF#000000##FFFFFF
##0C3A2F1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362E
Deuteranopia (green-blind)
#313130
Tritanopia (blue-blind)
#003B37
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c3a2f;
/* rgb */ color: rgb(12, 58, 47);
/* oklch */ color: oklch(31.4% 0.053 173.4);
Tailwind
colors: {
  custom: {
    50: '#537067',
    500: '#0c3a2f',
    950: '#000000',
  },
}
SCSS
$custom: #0c3a2f;
$custom-light: #537067;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3a2f",
  "rgb": {
    "r": 12,
    "g": 58,
    "b": 47
  },
  "hsl": {
    "h": 165.652,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31442,
    "c": 0.05269,
    "h": 173.4
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#0C3A2F
secondary
#762C3D
accent
#3F68E9
background
#F4F6F6
surface
#E7ECEB
border
#C3C7C6
text
#030706
muted
#787A7A

Preview Lab

Preview with #0C3A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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