#0C241D#0C241D

#0C241D is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.8% C 0.033 H 171.9°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#0C241D
RGBrgb(12, 36, 29)
HSLhsl(163, 50%, 9%)
HSVhsv(163, 67%, 14%)
CMYKcmyk(66.7%, 0%, 19.4%, 85.9%)
CIE-LABlab(12.15, -11.60, 1.84)
CIE-LCHlch(12.15, 11.75, 170.99°)
OKLaboklab(23.85% -0.0329 0.0047)
OKLCHoklch(23.85% 0.033 171.9)
XYZxyz(1.0042, 1.4285, 1.3850)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C241D #240C13
analogous
#0C2411 #0C241D #0C1F24
triadic
#0C241D #1D0C24 #241D0C
tetradic
#0C241D #110C24 #240C13 #1F240C
square
#0C241D #110C24 #240C13 #1F240C
split-complementary
#0C241D #240C1F #24110C
monochromatic
#081712 #081712 #0C241D #1B5242 #2B8067

Accessibility & contrast

On white

16.33
#0C241D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0C241D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C241D
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C241D#FFFFFF#000000##FFFFFF
##0C241D1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211D
Deuteranopia (green-blind)
#1F1F1D
Tritanopia (blue-blind)
#042422
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0c241d;
/* rgb */ color: rgb(12, 36, 29);
/* oklch */ color: oklch(23.8% 0.033 171.9);
Tailwind
colors: {
  custom: {
    50: '#4d5e58',
    500: '#0c241d',
    950: '#000000',
  },
}
SCSS
$custom: #0c241d;
$custom-light: #4d5e58;
$custom-dark: #000000;
JSON
{
  "hex": "#0c241d",
  "rgb": {
    "r": 12,
    "g": 36,
    "b": 29
  },
  "hsl": {
    "h": 162.5,
    "s": 50,
    "l": 9.412
  },
  "oklch": {
    "l": 0.23846,
    "c": 0.03322,
    "h": 171.9
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#0C241D
secondary
#5E2D3C
accent
#4E77DA
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #0C241D

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

Preview Lab → · Contrast checker → · Palette generator →

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