#0C281F#0C281F

#0C281F is a dark, muted teal. Relative luminance 0.017; OKLCH L 25.2% C 0.038 H 169.3°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#0C281F
RGBrgb(12, 40, 31)
HSLhsl(161, 54%, 10%)
HSVhsv(161, 70%, 16%)
CMYKcmyk(70%, 0%, 22.5%, 84.3%)
CIE-LABlab(13.80, -13.39, 2.77)
CIE-LCHlch(13.80, 13.67, 168.30°)
OKLaboklab(25.21% -0.0376 0.0071)
OKLCHoklch(25.21% 0.038 169.3)
XYZxyz(1.1576, 1.6946, 1.5621)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C281F #280C15
analogous
#0C2811 #0C281F #0C2328
triadic
#0C281F #1F0C28 #281F0C
tetradic
#0C281F #110C28 #280C15 #23280C
square
#0C281F #110C28 #280C15 #23280C
split-complementary
#0C281F #280C23 #28110C
monochromatic
#071812 #071812 #0C281F #1A5743 #288668

Accessibility & contrast

On white

15.68
#0C281F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0C281F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C281F
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C281F#FFFFFF#000000##FFFFFF
##0C281F1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#232220
Tritanopia (blue-blind)
#022825
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0c281f;
/* rgb */ color: rgb(12, 40, 31);
/* oklch */ color: oklch(25.2% 0.038 169.3);
Tailwind
colors: {
  custom: {
    50: '#4e625a',
    500: '#0c281f',
    950: '#000000',
  },
}
SCSS
$custom: #0c281f;
$custom-light: #4e625a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c281f",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 160.714,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.25206,
    "c": 0.03824,
    "h": 169.3
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#0C281F
secondary
#632D3E
accent
#4B7ADD
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #0C281F

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

Preview Lab → · Contrast checker → · Palette generator →

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