#0C2D35#0C2D35

#0C2D35 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.7% C 0.040 H 216.8°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#0C2D35
RGBrgb(12, 45, 53)
HSLhsl(192, 63%, 13%)
HSVhsv(192, 77%, 21%)
CMYKcmyk(77.4%, 15.1%, 0%, 79.2%)
CIE-LABlab(16.56, -8.77, -8.66)
CIE-LCHlch(16.56, 12.32, 224.63°)
OKLaboklab(27.72% -0.0323 -0.0241)
OKLCHoklch(27.72% 0.04 216.8)
XYZxyz(1.7323, 2.2118, 3.7031)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D35 #35140C
analogous
#0C3528 #0C2D35 #0C1935
triadic
#0C2D35 #350C2D #2D350C
tetradic
#0C2D35 #280C35 #35140C #19350C
square
#0C2D35 #280C35 #35140C #19350C
split-complementary
#0C2D35 #350C19 #35280C
monochromatic
#061519 #061519 #0C2D35 #175767 #238299

Accessibility & contrast

On white

14.56
#0C2D35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0C2D35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D35
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D35#FFFFFF#000000##FFFFFF
##0C2D351.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B35
Deuteranopia (green-blind)
#222735
Tritanopia (blue-blind)
#00302F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2d35;
/* rgb */ color: rgb(12, 45, 53);
/* oklch */ color: oklch(27.7% 0.040 216.8);
Tailwind
colors: {
  custom: {
    50: '#51666c',
    500: '#0c2d35',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d35;
$custom-light: #51666c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d35",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 53
  },
  "hsl": {
    "h": 191.707,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.27722,
    "c": 0.04026,
    "h": 216.8
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#0C2D35
secondary
#71392C
accent
#6242E6
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #0C2D35

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

Preview Lab → · Contrast checker → · Palette generator →

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