#0C4C51#0C4C51

#0C4C51 is a dark, moderate teal. Relative luminance 0.058; OKLCH L 38.2% C 0.060 H 203.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#0C4C51
RGBrgb(12, 76, 81)
HSLhsl(184, 74%, 18%)
HSVhsv(184, 85%, 32%)
CMYKcmyk(85.2%, 6.2%, 0%, 68.2%)
CIE-LABlab(29.01, -16.94, -8.50)
CIE-LCHlch(29.01, 18.95, 206.66°)
OKLaboklab(38.15% -0.0555 -0.0236)
OKLCHoklch(38.15% 0.06 203.1)
XYZxyz(4.2206, 5.8406, 8.6879)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C51 #51110C
analogous
#0C5133 #0C4C51 #0C2951
triadic
#0C4C51 #510C4C #4C510C
tetradic
#0C4C51 #330C51 #51110C #29510C
square
#0C4C51 #330C51 #51110C #29510C
split-complementary
#0C4C51 #510C29 #51330C
monochromatic
#04191B #041A1C #0C4C51 #147E86 #1CB0BC

Accessibility & contrast

On white

9.69
#0C4C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#0C4C51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4C51
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4C51#FFFFFF#000000##FFFFFF
##0C4C511.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454851
Deuteranopia (green-blind)
#3C4151
Tritanopia (blue-blind)
#004F4D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c4c51;
/* rgb */ color: rgb(12, 76, 81);
/* oklch */ color: oklch(38.2% 0.060 203.1);
Tailwind
colors: {
  custom: {
    50: '#5a7e81',
    500: '#0c4c51',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c51;
$custom-light: #5a7e81;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c51",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 81
  },
  "hsl": {
    "h": 184.348,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38151,
    "c": 0.06036,
    "h": 203.1
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#0C4C51
secondary
#8C332C
accent
#4437F1
background
#F5F7F7
surface
#E9EEEE
border
#C5C9C9
text
#040A0A
muted
#797C7C

Preview Lab

Preview with #0C4C51

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

Preview Lab → · Contrast checker → · Palette generator →

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