#0C2E1F#0C2E1F

#0C2E1F is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.1% C 0.049 H 161.3°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#0C2E1F
RGBrgb(12, 46, 31)
HSLhsl(154, 59%, 11%)
HSVhsv(154, 74%, 18%)
CMYKcmyk(73.9%, 0%, 32.6%, 82%)
CIE-LABlab(16.16, -16.76, 6.11)
CIE-LCHlch(16.16, 17.84, 159.98°)
OKLaboklab(27.14% -0.046 0.0156)
OKLCHoklch(27.14% 0.049 161.3)
XYZxyz(1.3758, 2.1309, 1.6349)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E1F #2E0C1B
analogous
#0C2E0E #0C2E1F #0C2C2E
triadic
#0C2E1F #1F0C2E #2E1F0C
tetradic
#0C2E1F #0E0C2E #2E0C1B #2C2E0C
square
#0C2E1F #0E0C2E #2E0C1B #2C2E0C
split-complementary
#0C2E1F #2E0C2C #2E0E0C
monochromatic
#061810 #061810 #0C2E1F #195F40 #258F60

Accessibility & contrast

On white

14.72
#0C2E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E1F
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E1F#FFFFFF#000000##FFFFFF
##0C2E1F1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A1E
Deuteranopia (green-blind)
#292720
Tritanopia (blue-blind)
#002E2A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2e1f;
/* rgb */ color: rgb(12, 46, 31);
/* oklch */ color: oklch(27.1% 0.049 161.3);
Tailwind
colors: {
  custom: {
    50: '#4f675a',
    500: '#0c2e1f',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e1f;
$custom-light: #4f675a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e1f",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 31
  },
  "hsl": {
    "h": 153.529,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27136,
    "c": 0.04857,
    "h": 161.3
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#0C2E1F
secondary
#6A2C47
accent
#468BE2
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C2E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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