#0C2F36#0C2F36

#0C2F36 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.4% C 0.041 H 213.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#0C2F36
RGBrgb(12, 47, 54)
HSLhsl(190, 64%, 13%)
HSVhsv(190, 78%, 21%)
CMYKcmyk(77.8%, 13%, 0%, 78.8%)
CIE-LABlab(17.35, -9.67, -8.15)
CIE-LCHlch(17.35, 12.64, 220.12°)
OKLaboklab(28.37% -0.0344 -0.0226)
OKLCHoklch(28.37% 0.041 213.4)
XYZxyz(1.8337, 2.3773, 3.8515)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F36 #36130C
analogous
#0C3628 #0C2F36 #0C1A36
triadic
#0C2F36 #360C2F #2F360C
tetradic
#0C2F36 #280C36 #36130C #1A360C
square
#0C2F36 #280C36 #36130C #1A360C
split-complementary
#0C2F36 #360C1A #36280C
monochromatic
#061619 #061619 #0C2F36 #175B68 #22869A

Accessibility & contrast

On white

14.23
#0C2F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C2F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F36
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F36#FFFFFF#000000##FFFFFF
##0C2F361.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2D36
Deuteranopia (green-blind)
#242936
Tritanopia (blue-blind)
#003231
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2f36;
/* rgb */ color: rgb(12, 47, 54);
/* oklch */ color: oklch(28.4% 0.041 213.4);
Tailwind
colors: {
  custom: {
    50: '#51676d',
    500: '#0c2f36',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f36;
$custom-light: #51676d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f36",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 54
  },
  "hsl": {
    "h": 190,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.28374,
    "c": 0.04115,
    "h": 213.4
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#0C2F36
secondary
#72372C
accent
#5D41E7
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020607
muted
#787A7A

Preview Lab

Preview with #0C2F36

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

Preview Lab → · Contrast checker → · Palette generator →

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