#0C2124#0C2124

#0C2124 is a very dark, muted teal. Relative luminance 0.013; OKLCH L 23.2% C 0.027 H 207.6°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#0C2124
RGBrgb(12, 33, 36)
HSLhsl(188, 50%, 9%)
HSVhsv(188, 67%, 14%)
CMYKcmyk(66.7%, 8.3%, 0%, 85.9%)
CIE-LABlab(11.23, -7.30, -4.61)
CIE-LCHlch(11.23, 8.63, 212.28°)
OKLaboklab(23.19% -0.0243 -0.0127)
OKLCHoklch(23.19% 0.027 207.6)
XYZxyz(1.0138, 1.2932, 1.8649)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2124 #240F0C
analogous
#0C241B #0C2124 #0C1524
triadic
#0C2124 #240C21 #21240C
tetradic
#0C2124 #1B0C24 #240F0C #15240C
square
#0C2124 #1B0C24 #240F0C #15240C
split-complementary
#0C2124 #240C15 #241B0C
monochromatic
#081517 #081517 #0C2124 #1B4B52 #2B7580

Accessibility & contrast

On white

16.69
#0C2124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2124
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2124#FFFFFF#000000##FFFFFF
##0C21241.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2024
Deuteranopia (green-blind)
#1A1D24
Tritanopia (blue-blind)
#012322
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c2124;
/* rgb */ color: rgb(12, 33, 36);
/* oklch */ color: oklch(23.2% 0.027 207.6);
Tailwind
colors: {
  custom: {
    50: '#4d5c5e',
    500: '#0c2124',
    950: '#000000',
  },
}
SCSS
$custom: #0c2124;
$custom-light: #4d5c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2124",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 36
  },
  "hsl": {
    "h": 187.5,
    "s": 50,
    "l": 9.412
  },
  "oklch": {
    "l": 0.23191,
    "c": 0.02744,
    "h": 207.6
  },
  "luminance": 0.01293
}

Semantic roles & 50–950 ramp

primary
#0C2124
secondary
#5E342D
accent
#604EDA
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010404
muted
#777979

Preview Lab

Preview with #0C2124

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

Preview Lab → · Contrast checker → · Palette generator →

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