#0C241E#0C241E

#0C241E is a very dark, muted teal. Relative luminance 0.014; OKLCH L 23.9% C 0.032 H 174.8°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#0C241E
RGBrgb(12, 36, 30)
HSLhsl(165, 50%, 9%)
HSVhsv(165, 67%, 14%)
CMYKcmyk(66.7%, 0%, 16.7%, 85.9%)
CIE-LABlab(12.18, -11.30, 1.17)
CIE-LCHlch(12.18, 11.36, 174.10°)
OKLaboklab(23.88% -0.0323 0.0029)
OKLCHoklch(23.88% 0.032 174.8)
XYZxyz(1.0167, 1.4336, 1.4512)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C241E #240C12
analogous
#0C2412 #0C241E #0C1E24
triadic
#0C241E #1E0C24 #241E0C
tetradic
#0C241E #120C24 #240C12 #1E240C
square
#0C241E #120C24 #240C12 #1E240C
split-complementary
#0C241E #240C1E #24120C
monochromatic
#081713 #081713 #0C241E #1B5244 #2B806B

Accessibility & contrast

On white

16.32
#0C241E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C241E
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C241E#FFFFFF#000000##FFFFFF
##0C241E1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211E
Deuteranopia (green-blind)
#1F1F1E
Tritanopia (blue-blind)
#032422
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0c241e;
/* rgb */ color: rgb(12, 36, 30);
/* oklch */ color: oklch(23.9% 0.032 174.8);
Tailwind
colors: {
  custom: {
    50: '#4d5e59',
    500: '#0c241e',
    950: '#000000',
  },
}
SCSS
$custom: #0c241e;
$custom-light: #4d5e59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c241e",
  "rgb": {
    "r": 12,
    "g": 36,
    "b": 30
  },
  "hsl": {
    "h": 165,
    "s": 50,
    "l": 9.412
  },
  "oklch": {
    "l": 0.23883,
    "c": 0.03242,
    "h": 174.8
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#0C241E
secondary
#5E2D3A
accent
#4E71DA
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #0C241E

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

Preview Lab → · Contrast checker → · Palette generator →

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