#0C2829#0C2829

#0C2829 is a dark, muted teal. Relative luminance 0.018; OKLCH L 25.6% C 0.034 H 198.5°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#0C2829
RGBrgb(12, 40, 41)
HSLhsl(182, 55%, 10%)
HSVhsv(182, 71%, 16%)
CMYKcmyk(70.7%, 2.4%, 0%, 83.9%)
CIE-LABlab(14.15, -10.06, -3.84)
CIE-LCHlch(14.15, 10.77, 200.89°)
OKLaboklab(25.61% -0.0318 -0.0106)
OKLCHoklch(25.61% 0.034 198.5)
XYZxyz(1.3105, 1.7557, 2.3672)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2829 #290D0C
analogous
#0C291B #0C2829 #0C1929
triadic
#0C2829 #290C28 #28290C
tetradic
#0C2829 #1B0C29 #290D0C #19290C
square
#0C2829 #1B0C29 #290D0C #19290C
split-complementary
#0C2829 #290C19 #291B0C
monochromatic
#071718 #071718 #0C2829 #1A5658 #288488

Accessibility & contrast

On white

15.54
#0C2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0C2829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2829
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2829#FFFFFF#000000##FFFFFF
##0C28291.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252629
Deuteranopia (green-blind)
#202229
Tritanopia (blue-blind)
#002A28
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0c2829;
/* rgb */ color: rgb(12, 40, 41);
/* oklch */ color: oklch(25.6% 0.034 198.5);
Tailwind
colors: {
  custom: {
    50: '#4f6262',
    500: '#0c2829',
    950: '#000000',
  },
}
SCSS
$custom: #0c2829;
$custom-light: #4f6262;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2829",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 182.069,
    "s": 54.717,
    "l": 10.392
  },
  "oklch": {
    "l": 0.25611,
    "c": 0.0335,
    "h": 198.5
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#0C2829
secondary
#642F2D
accent
#4F4ADE
background
#F4F5F5
surface
#E7EAEA
border
#C3C6C6
text
#020505
muted
#787979

Preview Lab

Preview with #0C2829

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

Preview Lab → · Contrast checker → · Palette generator →

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