#0C221F#0C221F

#0C221F is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.3% C 0.029 H 183.9°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#0C221F
RGBrgb(12, 34, 31)
HSLhsl(172, 48%, 9%)
HSVhsv(172, 65%, 13%)
CMYKcmyk(64.7%, 0%, 8.8%, 86.7%)
CIE-LABlab(11.42, -9.71, -0.66)
CIE-LCHlch(11.42, 9.73, 183.91°)
OKLaboklab(23.28% -0.0287 -0.0019)
OKLCHoklch(23.28% 0.029 183.9)
XYZxyz(0.9709, 1.3211, 1.4999)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C221F #220C0F
analogous
#0C2214 #0C221F #0C1A22
triadic
#0C221F #1F0C22 #221F0C
tetradic
#0C221F #140C22 #220C0F #1A220C
square
#0C221F #140C22 #220C0F #1A220C
split-complementary
#0C221F #220C1A #22140C
monochromatic
#081715 #081715 #0C221F #1C4F48 #2C7C71

Accessibility & contrast

On white

16.61
#0C221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0C221F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C221F
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C221F#FFFFFF#000000##FFFFFF
##0C221F1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20201F
Deuteranopia (green-blind)
#1D1D1F
Tritanopia (blue-blind)
#032321
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c221f;
/* rgb */ color: rgb(12, 34, 31);
/* oklch */ color: oklch(23.3% 0.029 183.9);
Tailwind
colors: {
  custom: {
    50: '#4d5d5a',
    500: '#0c221f',
    950: '#000000',
  },
}
SCSS
$custom: #0c221f;
$custom-light: #4d5d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c221f",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 171.818,
    "s": 47.826,
    "l": 9.02
  },
  "oklch": {
    "l": 0.23282,
    "c": 0.02873,
    "h": 183.9
  },
  "luminance": 0.01321
}

Semantic roles & 50–950 ramp

primary
#0C221F
secondary
#5C2E34
accent
#5063D7
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #0C221F

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

Preview Lab → · Contrast checker → · Palette generator →

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