#0C474D#0C474D

#0C474D is a dark, muted teal. Relative luminance 0.051; OKLCH L 36.5% C 0.057 H 205.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#0C474D
RGBrgb(12, 71, 77)
HSLhsl(186, 73%, 17%)
HSVhsv(186, 84%, 30%)
CMYKcmyk(84.4%, 7.8%, 0%, 69.8%)
CIE-LABlab(27.07, -15.54, -8.84)
CIE-LCHlch(27.07, 17.88, 209.62°)
OKLaboklab(36.54% -0.0518 -0.0246)
OKLCHoklch(36.54% 0.057 205.4)
XYZxyz(3.7438, 5.1200, 7.8107)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C474D #4D120C
analogous
#0C4D32 #0C474D #0C274D
triadic
#0C474D #4D0C47 #474D0C
tetradic
#0C474D #320C4D #4D120C #274D0C
square
#0C474D #320C4D #4D120C #274D0C
split-complementary
#0C474D #4D0C27 #4D320C
monochromatic
#04181A #04181A #0C474D #147882 #1DA9B7

Accessibility & contrast

On white

10.38
#0C474D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#0C474D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C474D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C474D#FFFFFF#000000##FFFFFF
##0C474D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444D
Deuteranopia (green-blind)
#373D4D
Tritanopia (blue-blind)
#004A49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c474d;
/* rgb */ color: rgb(12, 71, 77);
/* oklch */ color: oklch(36.5% 0.057 205.4);
Tailwind
colors: {
  custom: {
    50: '#587a7e',
    500: '#0c474d',
    950: '#000000',
  },
}
SCSS
$custom: #0c474d;
$custom-light: #587a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c474d",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 77
  },
  "hsl": {
    "h": 185.538,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36535,
    "c": 0.05738,
    "h": 205.4
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#0C474D
secondary
#89352C
accent
#4938F0
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04090A
muted
#797B7C

Preview Lab

Preview with #0C474D

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

Preview Lab → · Contrast checker → · Palette generator →

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