#0C4951#0C4951

#0C4951 is a dark, muted teal. Relative luminance 0.054; OKLCH L 37.3% C 0.059 H 208.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#0C4951
RGBrgb(12, 73, 81)
HSLhsl(187, 74%, 18%)
HSVhsv(187, 85%, 32%)
CMYKcmyk(85.2%, 9.9%, 0%, 68.2%)
CIE-LABlab(27.94, -15.23, -10.11)
CIE-LCHlch(27.94, 18.28, 213.59°)
OKLaboklab(37.29% -0.0522 -0.0281)
OKLCHoklch(37.29% 0.059 208.4)
XYZxyz(4.0187, 5.4368, 8.6206)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4951 #51140C
analogous
#0C5136 #0C4951 #0C2651
triadic
#0C4951 #510C49 #49510C
tetradic
#0C4951 #360C51 #51140C #26510C
square
#0C4951 #360C51 #51140C #26510C
split-complementary
#0C4951 #510C26 #51360C
monochromatic
#04181B #04191C #0C4951 #147986 #1CA9BC

Accessibility & contrast

On white

10.06
#0C4951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0C4951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4951
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4951#FFFFFF#000000##FFFFFF
##0C49511.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424652
Deuteranopia (green-blind)
#383F51
Tritanopia (blue-blind)
#004D4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4951;
/* rgb */ color: rgb(12, 73, 81);
/* oklch */ color: oklch(37.3% 0.059 208.4);
Tailwind
colors: {
  custom: {
    50: '#597c81',
    500: '#0c4951',
    950: '#000000',
  },
}
SCSS
$custom: #0c4951;
$custom-light: #597c81;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4951",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 81
  },
  "hsl": {
    "h": 186.957,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37292,
    "c": 0.05927,
    "h": 208.4
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#0C4951
secondary
#8C382C
accent
#4D37F1
background
#F5F7F7
surface
#E9EEEE
border
#C5C9C9
text
#04090A
muted
#797B7C

Preview Lab

Preview with #0C4951

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

Preview Lab → · Contrast checker → · Palette generator →

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