#0C4A3C#0C4A3C

#0C4A3C is a dark, moderate teal. Relative luminance 0.053; OKLCH L 36.8% C 0.065 H 173.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#0C4A3C
RGBrgb(12, 74, 60)
HSLhsl(166, 72%, 17%)
HSVhsv(166, 84%, 29%)
CMYKcmyk(83.8%, 0%, 18.9%, 71%)
CIE-LABlab(27.58, -22.83, 2.96)
CIE-LCHlch(27.58, 23.03, 172.62°)
OKLaboklab(36.75% -0.0644 0.0075)
OKLCHoklch(36.75% 0.065 173.4)
XYZxyz(3.4156, 5.3016, 5.1174)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A3C #4A0C1A
analogous
#0C4A1D #0C4A3C #0C394A
triadic
#0C4A3C #3C0C4A #4A3C0C
tetradic
#0C4A3C #1D0C4A #4A0C1A #394A0C
square
#0C4A3C #1D0C4A #4A0C1A #394A0C
split-complementary
#0C4A3C #4A0C39 #4A1D0C
monochromatic
#041A15 #041A15 #0C4A3C #157F67 #1DB391

Accessibility & contrast

On white

10.19
#0C4A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0C4A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A3C
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A3C#FFFFFF#000000##FFFFFF
##0C4A3C1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47453B
Deuteranopia (green-blind)
#3F3F3D
Tritanopia (blue-blind)
#004B46
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4a3c;
/* rgb */ color: rgb(12, 74, 60);
/* oklch */ color: oklch(36.8% 0.065 173.4);
Tailwind
colors: {
  custom: {
    50: '#577d71',
    500: '#0c4a3c',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a3c;
$custom-light: #577d71;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a3c",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 60
  },
  "hsl": {
    "h": 166.452,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36752,
    "c": 0.06483,
    "h": 173.4
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#0C4A3C
secondary
#862C40
accent
#3962EF
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040907
muted
#797B7A

Preview Lab

Preview with #0C4A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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