#0C3839#0C3839

#0C3839 is a dark, muted teal. Relative luminance 0.032; OKLCH L 31.2% C 0.046 H 197.3°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#0C3839
RGBrgb(12, 56, 57)
HSLhsl(181, 65%, 14%)
HSVhsv(181, 79%, 22%)
CMYKcmyk(78.9%, 1.8%, 0%, 77.6%)
CIE-LABlab(20.83, -14.06, -4.95)
CIE-LCHlch(20.83, 14.91, 199.40°)
OKLaboklab(31.22% -0.0442 -0.0137)
OKLCHoklch(31.22% 0.046 197.3)
XYZxyz(2.3040, 3.2017, 4.3667)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3839 #390D0C
analogous
#0C3923 #0C3839 #0C2139
triadic
#0C3839 #390C38 #38390C
tetradic
#0C3839 #230C39 #390D0C #21390C
square
#0C3839 #230C39 #390D0C #21390C
split-complementary
#0C3839 #390C21 #39230C
monochromatic
#051919 #051919 #0C3839 #176A6C #219B9E

Accessibility & contrast

On white

12.80
#0C3839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#0C3839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3839
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3839#FFFFFF#000000##FFFFFF
##0C38391.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343539
Deuteranopia (green-blind)
#2D3039
Tritanopia (blue-blind)
#003A38
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0c3839;
/* rgb */ color: rgb(12, 56, 57);
/* oklch */ color: oklch(31.2% 0.046 197.3);
Tailwind
colors: {
  custom: {
    50: '#536e6f',
    500: '#0c3839',
    950: '#000000',
  },
}
SCSS
$custom: #0c3839;
$custom-light: #536e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3839",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 57
  },
  "hsl": {
    "h": 181.333,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31224,
    "c": 0.04632,
    "h": 197.3
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#0C3839
secondary
#752D2C
accent
#4340E8
background
#F5F6F6
surface
#E8ECEC
border
#C4C7C7
text
#030707
muted
#787A7A

Preview Lab

Preview with #0C3839

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

Preview Lab → · Contrast checker → · Palette generator →

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