#0C4F51#0C4F51

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

Color values

HEX#0C4F51
RGBrgb(12, 79, 81)
HSLhsl(182, 74%, 18%)
HSVhsv(182, 85%, 32%)
CMYKcmyk(85.2%, 2.5%, 0%, 68.2%)
CIE-LABlab(30.07, -18.60, -6.91)
CIE-LCHlch(30.07, 19.84, 200.37°)
OKLaboklab(39.01% -0.0589 -0.0192)
OKLCHoklch(39.01% 0.062 198)
XYZxyz(4.4321, 6.2637, 8.7584)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F51 #510E0C
analogous
#0C5130 #0C4F51 #0C2C51
triadic
#0C4F51 #510C4F #4F510C
tetradic
#0C4F51 #300C51 #510E0C #2C510C
square
#0C4F51 #300C51 #510E0C #2C510C
split-complementary
#0C4F51 #510C2C #51300C
monochromatic
#041A1B #041B1C #0C4F51 #148386 #1CB7BC

Accessibility & contrast

On white

9.32
#0C4F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#0C4F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F51
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F51#FFFFFF#000000##FFFFFF
##0C4F511.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494B51
Deuteranopia (green-blind)
#3F4451
Tritanopia (blue-blind)
#00524F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c4f51;
/* rgb */ color: rgb(12, 79, 81);
/* oklch */ color: oklch(39.0% 0.062 198.0);
Tailwind
colors: {
  custom: {
    50: '#5a8081',
    500: '#0c4f51',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f51;
$custom-light: #5a8081;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f51",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 81
  },
  "hsl": {
    "h": 181.739,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39012,
    "c": 0.06197,
    "h": 198
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#0C4F51
secondary
#8C2F2C
accent
#3C37F1
background
#F5F7F7
surface
#E9EEEE
border
#C5C9C9
text
#040A0A
muted
#797C7C

Preview Lab

Preview with #0C4F51

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

Preview Lab → · Contrast checker → · Palette generator →

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