#0C4A55#0C4A55

#0C4A55 is a dark, moderate teal. Relative luminance 0.056; OKLCH L 37.8% C 0.061 H 212.9°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#0C4A55
RGBrgb(12, 74, 85)
HSLhsl(189, 75%, 19%)
HSVhsv(189, 86%, 33%)
CMYKcmyk(85.9%, 12.9%, 0%, 66.7%)
CIE-LABlab(28.46, -14.33, -11.91)
CIE-LCHlch(28.46, 18.63, 219.74°)
OKLaboklab(37.76% -0.0514 -0.0332)
OKLCHoklch(37.76% 0.061 212.9)
XYZxyz(4.2394, 5.6311, 9.4560)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A55 #55170C
analogous
#0C553C #0C4A55 #0C2655
triadic
#0C4A55 #550C4A #4A550C
tetradic
#0C4A55 #3C0C55 #55170C #26550C
square
#0C4A55 #3C0C55 #55170C #26550C
split-complementary
#0C4A55 #550C26 #553C0C
monochromatic
#04171B #041B1F #0C4A55 #14798B #1BA7C0

Accessibility & contrast

On white

9.88
#0C4A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#0C4A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A55
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A55#FFFFFF#000000##FFFFFF
##0C4A551.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424756
Deuteranopia (green-blind)
#384055
Tritanopia (blue-blind)
#004E4D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4a55;
/* rgb */ color: rgb(12, 74, 85);
/* oklch */ color: oklch(37.8% 0.061 212.9);
Tailwind
colors: {
  custom: {
    50: '#5a7c84',
    500: '#0c4a55',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a55;
$custom-light: #5a7c84;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a55",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 85
  },
  "hsl": {
    "h": 189.041,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37764,
    "c": 0.06118,
    "h": 212.9
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#0C4A55
secondary
#903C2D
accent
#5236F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#04090B
muted
#797B7C

Preview Lab

Preview with #0C4A55

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

Preview Lab → · Contrast checker → · Palette generator →

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