#0C4956#0C4956

#0C4956 is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 37.5% C 0.062 H 216.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#0C4956
RGBrgb(12, 73, 86)
HSLhsl(191, 76%, 19%)
HSVhsv(191, 86%, 34%)
CMYKcmyk(86%, 15.1%, 0%, 66.3%)
CIE-LABlab(28.15, -13.36, -13.03)
CIE-LCHlch(28.15, 18.66, 224.27°)
OKLaboklab(37.53% -0.0498 -0.0364)
OKLCHoklch(37.53% 0.062 216.2)
XYZxyz(4.2132, 5.5146, 9.6447)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4956 #56190C
analogous
#0C563E #0C4956 #0C2456
triadic
#0C4956 #560C49 #49560C
tetradic
#0C4956 #3E0C56 #56190C #24560C
square
#0C4956 #3E0C56 #56190C #24560C
split-complementary
#0C4956 #560C24 #563E0C
monochromatic
#04171B #051B20 #0C4956 #13778C #1BA4C1

Accessibility & contrast

On white

9.99
#0C4956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0C4956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4956
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4956#FFFFFF#000000##FFFFFF
##0C49561.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404657
Deuteranopia (green-blind)
#363F56
Tritanopia (blue-blind)
#004E4D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4956;
/* rgb */ color: rgb(12, 73, 86);
/* oklch */ color: oklch(37.5% 0.062 216.2);
Tailwind
colors: {
  custom: {
    50: '#5a7c85',
    500: '#0c4956',
    950: '#000000',
  },
}
SCSS
$custom: #0c4956;
$custom-light: #5a7c85;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4956",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 86
  },
  "hsl": {
    "h": 190.541,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37529,
    "c": 0.06168,
    "h": 216.2
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#0C4956
secondary
#913E2D
accent
#5736F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#04090B
muted
#797B7C

Preview Lab

Preview with #0C4956

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

Preview Lab → · Contrast checker → · Palette generator →

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