#0C4855#0C4855

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

Color values

HEX#0C4855
RGBrgb(12, 72, 85)
HSLhsl(191, 75%, 19%)
HSVhsv(191, 86%, 33%)
CMYKcmyk(85.9%, 15.3%, 0%, 66.7%)
CIE-LABlab(27.76, -13.15, -12.98)
CIE-LCHlch(27.76, 18.48, 224.64°)
OKLaboklab(37.2% -0.0491 -0.0363)
OKLCHoklch(37.2% 0.061 216.4)
XYZxyz(4.1080, 5.3683, 9.4122)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4855 #55190C
analogous
#0C553E #0C4855 #0C2455
triadic
#0C4855 #550C48 #48550C
tetradic
#0C4855 #3E0C55 #55190C #24550C
square
#0C4855 #3E0C55 #55190C #24550C
split-complementary
#0C4855 #550C24 #553E0C
monochromatic
#04171B #041B1F #0C4855 #14758B #1BA3C0

Accessibility & contrast

On white

10.13
#0C4855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#0C4855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4855
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4855#FFFFFF#000000##FFFFFF
##0C48551.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4656
Deuteranopia (green-blind)
#363E55
Tritanopia (blue-blind)
#004D4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4855;
/* rgb */ color: rgb(12, 72, 85);
/* oklch */ color: oklch(37.2% 0.061 216.4);
Tailwind
colors: {
  custom: {
    50: '#5a7b84',
    500: '#0c4855',
    950: '#000000',
  },
}
SCSS
$custom: #0c4855;
$custom-light: #5a7b84;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4855",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 85
  },
  "hsl": {
    "h": 190.685,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37197,
    "c": 0.06108,
    "h": 216.4
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#0C4855
secondary
#903E2D
accent
#5736F2
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04090B
muted
#797B7C

Preview Lab

Preview with #0C4855

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

Preview Lab → · Contrast checker → · Palette generator →

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