#0C4F4B#0C4F4B

#0C4F4B is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.8% C 0.063 H 188.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#0C4F4B
RGBrgb(12, 79, 75)
HSLhsl(176, 74%, 18%)
HSVhsv(176, 85%, 31%)
CMYKcmyk(84.8%, 0%, 5.1%, 69%)
CIE-LABlab(29.86, -20.65, -3.38)
CIE-LCHlch(29.86, 20.92, 189.29°)
OKLaboklab(38.77% -0.062 -0.0095)
OKLCHoklch(38.77% 0.063 188.7)
XYZxyz(4.2170, 6.1776, 7.6254)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F4B #4F0C10
analogous
#0C4F29 #0C4F4B #0C314F
triadic
#0C4F4B #4B0C4F #4F4B0C
tetradic
#0C4F4B #290C4F #4F0C10 #314F0C
square
#0C4F4B #290C4F #4F0C10 #314F0C
split-complementary
#0C4F4B #4F0C31 #4F290C
monochromatic
#041B19 #041B19 #0C4F4B #14847D #1CB9B0

Accessibility & contrast

On white

9.39
#0C4F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#0C4F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F4B
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F4B#FFFFFF#000000##FFFFFF
##0C4F4B1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4A4B
Deuteranopia (green-blind)
#41434C
Tritanopia (blue-blind)
#00514E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c4f4b;
/* rgb */ color: rgb(12, 79, 75);
/* oklch */ color: oklch(38.8% 0.063 188.7);
Tailwind
colors: {
  custom: {
    50: '#59807d',
    500: '#0c4f4b',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f4b;
$custom-light: #59807d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f4b",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 75
  },
  "hsl": {
    "h": 176.418,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38769,
    "c": 0.06274,
    "h": 188.7
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#0C4F4B
secondary
#8B2C32
accent
#3843F0
background
#F5F7F7
surface
#E9EEEE
border
#C5C9C9
text
#040A09
muted
#797C7B

Preview Lab

Preview with #0C4F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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