#0C474E#0C474E

#0C474E is a dark, muted teal. Relative luminance 0.051; OKLCH L 36.6% C 0.058 H 207.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#0C474E
RGBrgb(12, 71, 78)
HSLhsl(186, 73%, 18%)
HSVhsv(186, 85%, 31%)
CMYKcmyk(84.6%, 9%, 0%, 69.4%)
CIE-LABlab(27.11, -15.18, -9.43)
CIE-LCHlch(27.11, 17.86, 211.85°)
OKLaboklab(36.58% -0.0514 -0.0262)
OKLCHoklch(36.58% 0.058 207.1)
XYZxyz(3.7794, 5.1342, 7.9981)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C474E #4E130C
analogous
#0C4E34 #0C474E #0C264E
triadic
#0C474E #4E0C47 #474E0C
tetradic
#0C474E #340C4E #4E130C #264E0C
square
#0C474E #340C4E #4E130C #264E0C
split-complementary
#0C474E #4E0C26 #4E340C
monochromatic
#04181B #04181B #0C474E #147783 #1CA8B8

Accessibility & contrast

On white

10.36
#0C474E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0C474E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C474E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C474E#FFFFFF#000000##FFFFFF
##0C474E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444E
Deuteranopia (green-blind)
#373D4E
Tritanopia (blue-blind)
#004B49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c474e;
/* rgb */ color: rgb(12, 71, 78);
/* oklch */ color: oklch(36.6% 0.058 207.1);
Tailwind
colors: {
  custom: {
    50: '#587a7f',
    500: '#0c474e',
    950: '#000000',
  },
}
SCSS
$custom: #0c474e;
$custom-light: #587a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c474e",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 78
  },
  "hsl": {
    "h": 186.364,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3658,
    "c": 0.05767,
    "h": 207.1
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#0C474E
secondary
#8A362C
accent
#4B38F0
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04090A
muted
#797B7C

Preview Lab

Preview with #0C474E

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

Preview Lab → · Contrast checker → · Palette generator →

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