#0C4B39#0C4B39

#0C4B39 is a dark, moderate teal. Relative luminance 0.054; OKLCH L 37.0% C 0.069 H 168.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#0C4B39
RGBrgb(12, 75, 57)
HSLhsl(163, 72%, 17%)
HSVhsv(163, 84%, 29%)
CMYKcmyk(84%, 0%, 24%, 70.6%)
CIE-LABlab(27.86, -24.21, 5.29)
CIE-LCHlch(27.86, 24.78, 167.67°)
OKLaboklab(36.96% -0.0672 0.0135)
OKLCHoklch(36.96% 0.069 168.6)
XYZxyz(3.4058, 5.4053, 4.7339)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B39 #4B0C1E
analogous
#0C4B1A #0C4B39 #0C3E4B
triadic
#0C4B39 #390C4B #4B390C
tetradic
#0C4B39 #1A0C4B #4B0C1E #3E4B0C
square
#0C4B39 #1A0C4B #4B0C1E #3E4B0C
split-complementary
#0C4B39 #4B0C3E #4B1A0C
monochromatic
#041A14 #041A14 #0C4B39 #148061 #1DB589

Accessibility & contrast

On white

10.09
#0C4B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0C4B39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B39
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B39#FFFFFF#000000##FFFFFF
##0C4B391.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494538
Deuteranopia (green-blind)
#413F3A
Tritanopia (blue-blind)
#004B46
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4b39;
/* rgb */ color: rgb(12, 75, 57);
/* oklch */ color: oklch(37.0% 0.069 168.6);
Tailwind
colors: {
  custom: {
    50: '#577e6f',
    500: '#0c4b39',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b39;
$custom-light: #577e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b39",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 57
  },
  "hsl": {
    "h": 162.857,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36955,
    "c": 0.0686,
    "h": 168.6
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#0C4B39
secondary
#872C46
accent
#396DEF
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C4B39

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

Preview Lab → · Contrast checker → · Palette generator →

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