#0C2F35#0C2F35

#0C2F35 is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.3% C 0.041 H 210.9°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#0C2F35
RGBrgb(12, 47, 53)
HSLhsl(189, 63%, 13%)
HSVhsv(189, 77%, 21%)
CMYKcmyk(77.4%, 11.3%, 0%, 79.2%)
CIE-LABlab(17.31, -10.05, -7.52)
CIE-LCHlch(17.31, 12.55, 216.80°)
OKLaboklab(28.32% -0.0349 -0.0209)
OKLCHoklch(28.32% 0.041 210.9)
XYZxyz(1.8105, 2.3680, 3.7291)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F35 #35120C
analogous
#0C3526 #0C2F35 #0C1B35
triadic
#0C2F35 #350C2F #2F350C
tetradic
#0C2F35 #260C35 #35120C #1B350C
square
#0C2F35 #260C35 #35120C #1B350C
split-complementary
#0C2F35 #350C1B #35260C
monochromatic
#061619 #061619 #0C2F35 #175B67 #238899

Accessibility & contrast

On white

14.25
#0C2F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0C2F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F35
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F35#FFFFFF#000000##FFFFFF
##0C2F351.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2f35;
/* rgb */ color: rgb(12, 47, 53);
/* oklch */ color: oklch(28.3% 0.041 210.9);
Tailwind
colors: {
  custom: {
    50: '#51676c',
    500: '#0c2f35',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f35;
$custom-light: #51676c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f35",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 53
  },
  "hsl": {
    "h": 188.78,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.28324,
    "c": 0.04063,
    "h": 210.9
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#0C2F35
secondary
#71362C
accent
#5A42E6
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #0C2F35

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

Preview Lab → · Contrast checker → · Palette generator →

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