#0C4C55#0C4C55

#0C4C55 is a dark, moderate teal. Relative luminance 0.059; OKLCH L 38.3% C 0.062 H 209.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#0C4C55
RGBrgb(12, 76, 85)
HSLhsl(187, 75%, 19%)
HSVhsv(187, 86%, 33%)
CMYKcmyk(85.9%, 10.6%, 0%, 66.7%)
CIE-LABlab(29.16, -15.49, -10.84)
CIE-LCHlch(29.16, 18.90, 214.99°)
OKLaboklab(38.33% -0.0536 -0.0302)
OKLCHoklch(38.33% 0.062 209.4)
XYZxyz(4.3750, 5.9024, 9.5013)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C55 #55150C
analogous
#0C553A #0C4C55 #0C2855
triadic
#0C4C55 #550C4C #4C550C
tetradic
#0C4C55 #3A0C55 #55150C #28550C
square
#0C4C55 #3A0C55 #55150C #28550C
split-complementary
#0C4C55 #550C28 #553A0C
monochromatic
#04181B #041C1F #0C4C55 #147C8B #1BACC0

Accessibility & contrast

On white

9.63
#0C4C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0C4C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4C55
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4C55#FFFFFF#000000##FFFFFF
##0C4C551.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444956
Deuteranopia (green-blind)
#3A4255
Tritanopia (blue-blind)
#00504F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c4c55;
/* rgb */ color: rgb(12, 76, 85);
/* oklch */ color: oklch(38.3% 0.062 209.4);
Tailwind
colors: {
  custom: {
    50: '#5a7e84',
    500: '#0c4c55',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c55;
$custom-light: #5a7e84;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c55",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 85
  },
  "hsl": {
    "h": 187.397,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38331,
    "c": 0.06151,
    "h": 209.4
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#0C4C55
secondary
#90392D
accent
#4D36F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#040A0B
muted
#797C7C

Preview Lab

Preview with #0C4C55

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

Preview Lab → · Contrast checker → · Palette generator →

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