#0C392F#0C392F

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

Color values

HEX#0C392F
RGBrgb(12, 57, 47)
HSLhsl(167, 65%, 14%)
HSVhsv(167, 79%, 22%)
CMYKcmyk(78.9%, 0%, 17.5%, 77.6%)
CIE-LABlab(20.86, -17.98, 1.86)
CIE-LCHlch(20.86, 18.08, 174.08°)
OKLaboklab(31.13% -0.0511 0.0047)
OKLCHoklch(31.13% 0.051 174.8)
XYZxyz(2.1276, 3.2094, 3.1961)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C392F #390C16
analogous
#0C3918 #0C392F #0C2C39
triadic
#0C392F #2F0C39 #392F0C
tetradic
#0C392F #180C39 #390C16 #2C390C
square
#0C392F #180C39 #390C16 #2C390C
split-complementary
#0C392F #390C2C #39180C
monochromatic
#051915 #051915 #0C392F #176C59 #219E82

Accessibility & contrast

On white

12.79
#0C392F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C392F
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C392F#FFFFFF#000000##FFFFFF
##0C392F1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352F
Deuteranopia (green-blind)
#303030
Tritanopia (blue-blind)
#003A36
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0c392f;
/* rgb */ color: rgb(12, 57, 47);
/* oklch */ color: oklch(31.1% 0.051 174.8);
Tailwind
colors: {
  custom: {
    50: '#526f67',
    500: '#0c392f',
    950: '#000000',
  },
}
SCSS
$custom: #0c392f;
$custom-light: #526f67;
$custom-dark: #000000;
JSON
{
  "hex": "#0c392f",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 47
  },
  "hsl": {
    "h": 166.667,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31133,
    "c": 0.05128,
    "h": 174.8
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#0C392F
secondary
#752C3C
accent
#4065E8
background
#F4F6F6
surface
#E7ECEB
border
#C3C7C6
text
#030706
muted
#787A7A

Preview Lab

Preview with #0C392F

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

Preview Lab → · Contrast checker → · Palette generator →

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