#0C4E54#0C4E54

#0C4E54 is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.9% C 0.062 H 204.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#0C4E54
RGBrgb(12, 78, 84)
HSLhsl(185, 75%, 19%)
HSVhsv(185, 86%, 33%)
CMYKcmyk(85.7%, 7.1%, 0%, 67.1%)
CIE-LABlab(29.83, -16.98, -9.19)
CIE-LCHlch(29.83, 19.31, 208.42°)
OKLaboklab(38.86% -0.0563 -0.0256)
OKLCHoklch(38.86% 0.062 204.4)
XYZxyz(4.4755, 6.1665, 9.3402)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4E54 #54120C
analogous
#0C5436 #0C4E54 #0C2A54
triadic
#0C4E54 #540C4E #4E540C
tetradic
#0C4E54 #360C54 #54120C #2A540C
square
#0C4E54 #360C54 #54120C #2A540C
split-complementary
#0C4E54 #540C2A #54360C
monochromatic
#04191B #041C1E #0C4E54 #14808A #1BB1BF

Accessibility & contrast

On white

9.40
#0C4E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#0C4E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4E54
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4E54#FFFFFF#000000##FFFFFF
##0C4E541.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A54
Deuteranopia (green-blind)
#3D4354
Tritanopia (blue-blind)
#005250
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c4e54;
/* rgb */ color: rgb(12, 78, 84);
/* oklch */ color: oklch(38.9% 0.062 204.4);
Tailwind
colors: {
  custom: {
    50: '#5a8084',
    500: '#0c4e54',
    950: '#000000',
  },
}
SCSS
$custom: #0c4e54;
$custom-light: #5a8084;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4e54",
  "rgb": {
    "r": 12,
    "g": 78,
    "b": 84
  },
  "hsl": {
    "h": 185,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38855,
    "c": 0.06183,
    "h": 204.4
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#0C4E54
secondary
#8F352D
accent
#4636F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#040A0A
muted
#797C7C

Preview Lab

Preview with #0C4E54

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

Preview Lab → · Contrast checker → · Palette generator →

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