#0C211D#0C211D

#0C211D is a very dark, muted teal. Relative luminance 0.013; OKLCH L 22.9% C 0.028 H 179.7°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#0C211D
RGBrgb(12, 33, 29)
HSLhsl(169, 47%, 9%)
HSVhsv(169, 64%, 13%)
CMYKcmyk(63.6%, 0%, 12.1%, 87.1%)
CIE-LABlab(10.95, -9.73, 0.11)
CIE-LCHlch(10.95, 9.73, 179.33°)
OKLaboklab(22.88% -0.0283 0.0001)
OKLCHoklch(22.88% 0.028 179.7)
XYZxyz(0.9172, 1.2545, 1.3560)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C211D #210C10
analogous
#0C2113 #0C211D #0C1B21
triadic
#0C211D #1D0C21 #211D0C
tetradic
#0C211D #130C21 #210C10 #1B210C
square
#0C211D #130C21 #210C10 #1B210C
split-complementary
#0C211D #210C1B #21130C
monochromatic
#081614 #081614 #0C211D #1C4E44 #2D7B6C

Accessibility & contrast

On white

16.79
#0C211D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0C211D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C211D
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C211D#FFFFFF#000000##FFFFFF
##0C211D1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1F1D
Deuteranopia (green-blind)
#1C1C1D
Tritanopia (blue-blind)
#042220
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0c211d;
/* rgb */ color: rgb(12, 33, 29);
/* oklch */ color: oklch(22.9% 0.028 179.7);
Tailwind
colors: {
  custom: {
    50: '#4c5c58',
    500: '#0c211d',
    950: '#000000',
  },
}
SCSS
$custom: #0c211d;
$custom-light: #4c5c58;
$custom-dark: #000000;
JSON
{
  "hex": "#0c211d",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 29
  },
  "hsl": {
    "h": 168.571,
    "s": 46.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.2288,
    "c": 0.02831,
    "h": 179.7
  },
  "luminance": 0.01255
}

Semantic roles & 50–950 ramp

primary
#0C211D
secondary
#5B2E37
accent
#516BD6
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #0C211D

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

Preview Lab → · Contrast checker → · Palette generator →

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