#0C4A3D#0C4A3D

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

Color values

HEX#0C4A3D
RGBrgb(12, 74, 61)
HSLhsl(167, 72%, 17%)
HSVhsv(167, 84%, 29%)
CMYKcmyk(83.8%, 0%, 17.6%, 71%)
CIE-LABlab(27.61, -22.53, 2.35)
CIE-LCHlch(27.61, 22.65, 174.04°)
OKLaboklab(36.79% -0.0638 0.0059)
OKLCHoklch(36.79% 0.064 174.7)
XYZxyz(3.4423, 5.3122, 5.2579)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A3D #4A0C19
analogous
#0C4A1E #0C4A3D #0C384A
triadic
#0C4A3D #3D0C4A #4A3D0C
tetradic
#0C4A3D #1E0C4A #4A0C19 #384A0C
square
#0C4A3D #1E0C4A #4A0C19 #384A0C
split-complementary
#0C4A3D #4A0C38 #4A1E0C
monochromatic
#041A16 #041A16 #0C4A3D #157F68 #1DB394

Accessibility & contrast

On white

10.18
#0C4A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4A3D
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A3D#FFFFFF#000000##FFFFFF
##0C4A3D1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4a3d;
/* rgb */ color: rgb(12, 74, 61);
/* oklch */ color: oklch(36.8% 0.064 174.7);
Tailwind
colors: {
  custom: {
    50: '#577d72',
    500: '#0c4a3d',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a3d;
$custom-light: #577d72;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a3d",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 61
  },
  "hsl": {
    "h": 167.419,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36785,
    "c": 0.06411,
    "h": 174.7
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#0C4A3D
secondary
#862C3F
accent
#395FEF
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040908
muted
#797B7B

Preview Lab

Preview with #0C4A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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