#0C2D31#0C2D31

#0C2D31 is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.5% C 0.038 H 206.3°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#0C2D31
RGBrgb(12, 45, 49)
HSLhsl(186, 61%, 12%)
HSVhsv(186, 76%, 19%)
CMYKcmyk(75.5%, 8.2%, 0%, 80.8%)
CIE-LABlab(16.39, -10.29, -6.13)
CIE-LCHlch(16.39, 11.98, 210.77°)
OKLaboklab(27.52% -0.0343 -0.017)
OKLCHoklch(27.52% 0.038 206.3)
XYZxyz(1.6441, 2.1765, 3.2386)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D31 #31100C
analogous
#0C3123 #0C2D31 #0C1B31
triadic
#0C2D31 #310C2D #2D310C
tetradic
#0C2D31 #230C31 #31100C #1B310C
square
#0C2D31 #230C31 #31100C #1B310C
split-complementary
#0C2D31 #310C1B #31230C
monochromatic
#061719 #061719 #0C2D31 #185A62 #248793

Accessibility & contrast

On white

14.63
#0C2D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2D31
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D31#FFFFFF#000000##FFFFFF
##0C2D311.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292B31
Deuteranopia (green-blind)
#232731
Tritanopia (blue-blind)
#002F2E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2d31;
/* rgb */ color: rgb(12, 45, 49);
/* oklch */ color: oklch(27.5% 0.038 206.3);
Tailwind
colors: {
  custom: {
    50: '#506669',
    500: '#0c2d31',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d31;
$custom-light: #506669;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d31",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 49
  },
  "hsl": {
    "h": 186.486,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27524,
    "c": 0.03828,
    "h": 206.3
  },
  "luminance": 0.02177
}

Semantic roles & 50–950 ramp

primary
#0C2D31
secondary
#6D332C
accent
#5544E4
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #0C2D31

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

Preview Lab → · Contrast checker → · Palette generator →

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