#0C392D#0C392D

#0C392D is a dark, muted teal. Relative luminance 0.032; OKLCH L 31.1% C 0.053 H 171.3°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#0C392D
RGBrgb(12, 57, 45)
HSLhsl(164, 65%, 14%)
HSVhsv(164, 79%, 22%)
CMYKcmyk(78.9%, 0%, 21.1%, 77.6%)
CIE-LABlab(20.80, -18.60, 3.12)
CIE-LCHlch(20.80, 18.86, 170.46°)
OKLaboklab(31.06% -0.0522 0.008)
OKLCHoklch(31.06% 0.053 171.3)
XYZxyz(2.0882, 3.1936, 2.9885)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C392D #390C18
analogous
#0C3916 #0C392D #0C2E39
triadic
#0C392D #2D0C39 #392D0C
tetradic
#0C392D #160C39 #390C18 #2E390C
square
#0C392D #160C39 #390C18 #2E390C
split-complementary
#0C392D #390C2E #39160C
monochromatic
#051914 #051914 #0C392D #176C55 #219E7D

Accessibility & contrast

On white

12.81
#0C392D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C392D
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C392D#FFFFFF#000000##FFFFFF
##0C392D1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352C
Deuteranopia (green-blind)
#31302E
Tritanopia (blue-blind)
#003A36
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0c392d;
/* rgb */ color: rgb(12, 57, 45);
/* oklch */ color: oklch(31.1% 0.053 171.3);
Tailwind
colors: {
  custom: {
    50: '#527065',
    500: '#0c392d',
    950: '#000000',
  },
}
SCSS
$custom: #0c392d;
$custom-light: #527065;
$custom-dark: #000000;
JSON
{
  "hex": "#0c392d",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 45
  },
  "hsl": {
    "h": 164,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31064,
    "c": 0.05283,
    "h": 171.3
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#0C392D
secondary
#752C3F
accent
#406DE8
background
#F4F6F6
surface
#E7ECEB
border
#C3C7C6
text
#020705
muted
#787A7A

Preview Lab

Preview with #0C392D

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

Preview Lab → · Contrast checker → · Palette generator →

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