#0C4B51#0C4B51

#0C4B51 is a dark, muted teal. Relative luminance 0.057; OKLCH L 37.9% C 0.060 H 204.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#0C4B51
RGBrgb(12, 75, 81)
HSLhsl(185, 74%, 18%)
HSVhsv(185, 85%, 32%)
CMYKcmyk(85.2%, 7.4%, 0%, 68.2%)
CIE-LABlab(28.65, -16.37, -9.04)
CIE-LCHlch(28.65, 18.70, 208.90°)
OKLaboklab(37.87% -0.0544 -0.0251)
OKLCHoklch(37.87% 0.06 204.8)
XYZxyz(4.1522, 5.7039, 8.6651)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B51 #51120C
analogous
#0C5134 #0C4B51 #0C2851
triadic
#0C4B51 #510C4B #4B510C
tetradic
#0C4B51 #340C51 #51120C #28510C
square
#0C4B51 #340C51 #51120C #28510C
split-complementary
#0C4B51 #510C28 #51340C
monochromatic
#04191B #041A1C #0C4B51 #147C86 #1CAEBC

Accessibility & contrast

On white

9.81
#0C4B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0C4B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B51
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B51#FFFFFF#000000##FFFFFF
##0C4B511.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4b51;
/* rgb */ color: rgb(12, 75, 81);
/* oklch */ color: oklch(37.9% 0.060 204.8);
Tailwind
colors: {
  custom: {
    50: '#597d81',
    500: '#0c4b51',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b51;
$custom-light: #597d81;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b51",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 81
  },
  "hsl": {
    "h": 185.217,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37865,
    "c": 0.05995,
    "h": 204.8
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#0C4B51
secondary
#8C352C
accent
#4737F1
background
#F5F7F7
surface
#E9EEEE
border
#C5C9C9
text
#04090A
muted
#797B7C

Preview Lab

Preview with #0C4B51

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

Preview Lab → · Contrast checker → · Palette generator →

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