#0C4957#0C4957

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

Color values

HEX#0C4957
RGBrgb(12, 73, 87)
HSLhsl(191, 76%, 19%)
HSVhsv(191, 86%, 34%)
CMYKcmyk(86.2%, 16.1%, 0%, 65.9%)
CIE-LABlab(28.20, -12.98, -13.61)
CIE-LCHlch(28.20, 18.81, 226.34°)
OKLaboklab(37.58% -0.0493 -0.038)
OKLCHoklch(37.58% 0.062 217.6)
XYZxyz(4.2537, 5.5308, 9.8583)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4957 #571A0C
analogous
#0C5740 #0C4957 #0C2457
triadic
#0C4957 #570C49 #49570C
tetradic
#0C4957 #400C57 #571A0C #24570C
square
#0C4957 #400C57 #571A0C #24570C
split-complementary
#0C4957 #570C24 #57400C
monochromatic
#04171B #051C21 #0C4957 #13768D #1BA3C3

Accessibility & contrast

On white

9.97
#0C4957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0C4957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4957
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4957#FFFFFF#000000##FFFFFF
##0C49571.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404758
Deuteranopia (green-blind)
#363F57
Tritanopia (blue-blind)
#004E4D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4957;
/* rgb */ color: rgb(12, 73, 87);
/* oklch */ color: oklch(37.6% 0.062 217.6);
Tailwind
colors: {
  custom: {
    50: '#5a7c86',
    500: '#0c4957',
    950: '#000000',
  },
}
SCSS
$custom: #0c4957;
$custom-light: #5a7c86;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4957",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 87
  },
  "hsl": {
    "h": 191.2,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.37578,
    "c": 0.06229,
    "h": 217.6
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#0C4957
secondary
#92402D
accent
#5935F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#04090B
muted
#797B7C

Preview Lab

Preview with #0C4957

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

Preview Lab → · Contrast checker → · Palette generator →

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