#0C4F54#0C4F54

#0C4F54 is a dark, moderate teal. Relative luminance 0.063; OKLCH L 39.1% C 0.062 H 202.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#0C4F54
RGBrgb(12, 79, 84)
HSLhsl(184, 75%, 19%)
HSVhsv(184, 86%, 33%)
CMYKcmyk(85.7%, 6%, 0%, 67.1%)
CIE-LABlab(30.18, -17.54, -8.66)
CIE-LCHlch(30.18, 19.56, 206.27°)
OKLaboklab(39.14% -0.0574 -0.0241)
OKLCHoklch(39.14% 0.062 202.8)
XYZxyz(4.5471, 6.3097, 9.3640)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F54 #54110C
analogous
#0C5435 #0C4F54 #0C2B54
triadic
#0C4F54 #540C4F #4F540C
tetradic
#0C4F54 #350C54 #54110C #2B540C
square
#0C4F54 #350C54 #54110C #2B540C
split-complementary
#0C4F54 #540C2B #54350C
monochromatic
#04191B #041D1E #0C4F54 #14818A #1BB4BF

Accessibility & contrast

On white

9.28
#0C4F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#0C4F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F54
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F54#FFFFFF#000000##FFFFFF
##0C4F541.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484B54
Deuteranopia (green-blind)
#3E4454
Tritanopia (blue-blind)
#005350
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c4f54;
/* rgb */ color: rgb(12, 79, 84);
/* oklch */ color: oklch(39.1% 0.062 202.8);
Tailwind
colors: {
  custom: {
    50: '#5b8084',
    500: '#0c4f54',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f54;
$custom-light: #5b8084;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f54",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 84
  },
  "hsl": {
    "h": 184.167,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3914,
    "c": 0.06226,
    "h": 202.8
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#0C4F54
secondary
#8F332D
accent
#4336F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#040A0A
muted
#797C7C

Preview Lab

Preview with #0C4F54

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

Preview Lab → · Contrast checker → · Palette generator →

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