#0C281E#0C281E

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

Color values

HEX#0C281E
RGBrgb(12, 40, 30)
HSLhsl(159, 54%, 10%)
HSVhsv(159, 70%, 16%)
CMYKcmyk(70%, 0%, 25%, 84.3%)
CIE-LABlab(13.76, -13.69, 3.44)
CIE-LCHlch(13.76, 14.12, 165.89°)
OKLaboklab(25.17% -0.0382 0.0088)
OKLCHoklch(25.17% 0.039 167)
XYZxyz(1.1446, 1.6894, 1.4938)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C281E #280C16
analogous
#0C2810 #0C281E #0C2428
triadic
#0C281E #1E0C28 #281E0C
tetradic
#0C281E #100C28 #280C16 #24280C
square
#0C281E #100C28 #280C16 #24280C
split-complementary
#0C281E #280C24 #28100C
monochromatic
#071812 #071812 #0C281E #1A5741 #288665

Accessibility & contrast

On white

15.70
#0C281E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C281E
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C281E#FFFFFF#000000##FFFFFF
##0C281E1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c281e;
/* rgb */ color: rgb(12, 40, 30);
/* oklch */ color: oklch(25.2% 0.039 167.0);
Tailwind
colors: {
  custom: {
    50: '#4e6259',
    500: '#0c281e',
    950: '#000000',
  },
}
SCSS
$custom: #0c281e;
$custom-light: #4e6259;
$custom-dark: #000000;
JSON
{
  "hex": "#0c281e",
  "rgb": {
    "r": 12,
    "g": 40,
    "b": 30
  },
  "hsl": {
    "h": 158.571,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.25172,
    "c": 0.03919,
    "h": 167
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#0C281E
secondary
#632D40
accent
#4B7FDD
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #0C281E

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

Preview Lab → · Contrast checker → · Palette generator →

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