#0C4639#0C4639

#0C4639 is a dark, moderate teal. Relative luminance 0.048; OKLCH L 35.4% C 0.062 H 173.7°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#0C4639
RGBrgb(12, 70, 57)
HSLhsl(167, 71%, 16%)
HSVhsv(167, 83%, 27%)
CMYKcmyk(82.9%, 0%, 18.6%, 72.5%)
CIE-LABlab(26.02, -21.72, 2.67)
CIE-LCHlch(26.02, 21.88, 173.00°)
OKLaboklab(35.45% -0.0613 0.0067)
OKLCHoklch(35.45% 0.062 173.7)
XYZxyz(3.0799, 4.7535, 4.6253)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4639 #460C19
analogous
#0C461C #0C4639 #0C3646
triadic
#0C4639 #390C46 #46390C
tetradic
#0C4639 #1C0C46 #460C19 #36460C
square
#0C4639 #1C0C46 #460C19 #36460C
split-complementary
#0C4639 #460C36 #461C0C
monochromatic
#041A15 #041A15 #0C4639 #157A64 #1EAE8E

Accessibility & contrast

On white

10.76
#0C4639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0C4639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4639
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4639#FFFFFF#000000##FFFFFF
##0C46391.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434138
Deuteranopia (green-blind)
#3C3B3A
Tritanopia (blue-blind)
#004742
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c4639;
/* rgb */ color: rgb(12, 70, 57);
/* oklch */ color: oklch(35.4% 0.062 173.7);
Tailwind
colors: {
  custom: {
    50: '#567a6f',
    500: '#0c4639',
    950: '#000000',
  },
}
SCSS
$custom: #0c4639;
$custom-light: #567a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4639",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 57
  },
  "hsl": {
    "h": 166.552,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35449,
    "c": 0.06172,
    "h": 173.7
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#0C4639
secondary
#822C3F
accent
#3A62ED
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C4639

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

Preview Lab → · Contrast checker → · Palette generator →

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