#0C4856#0C4856

#0C4856 is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.2% C 0.062 H 217.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#0C4856
RGBrgb(12, 72, 86)
HSLhsl(191, 76%, 19%)
HSVhsv(191, 86%, 34%)
CMYKcmyk(86%, 16.3%, 0%, 66.3%)
CIE-LABlab(27.80, -12.77, -13.56)
CIE-LCHlch(27.80, 18.63, 226.73°)
OKLaboklab(37.25% -0.0487 -0.0379)
OKLCHoklch(37.25% 0.062 217.9)
XYZxyz(4.1480, 5.3843, 9.6229)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4856 #561A0C
analogous
#0C563F #0C4856 #0C2356
triadic
#0C4856 #560C48 #48560C
tetradic
#0C4856 #3F0C56 #561A0C #23560C
square
#0C4856 #3F0C56 #561A0C #23560C
split-complementary
#0C4856 #560C23 #563F0C
monochromatic
#04161B #051B20 #0C4856 #13758C #1BA2C1

Accessibility & contrast

On white

10.11
#0C4856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0C4856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4856
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4856#FFFFFF#000000##FFFFFF
##0C48561.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4657
Deuteranopia (green-blind)
#353F56
Tritanopia (blue-blind)
#004D4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4856;
/* rgb */ color: rgb(12, 72, 86);
/* oklch */ color: oklch(37.2% 0.062 217.9);
Tailwind
colors: {
  custom: {
    50: '#5a7b85',
    500: '#0c4856',
    950: '#000000',
  },
}
SCSS
$custom: #0c4856;
$custom-light: #5a7b85;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4856",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 86
  },
  "hsl": {
    "h": 191.351,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37247,
    "c": 0.06171,
    "h": 217.9
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#0C4856
secondary
#91402D
accent
#5936F2
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04090B
muted
#797B7C

Preview Lab

Preview with #0C4856

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

Preview Lab → · Contrast checker → · Palette generator →

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