#0C2F2E#0C2F2E

#0C2F2E is a dark, muted teal. Relative luminance 0.023; OKLCH L 28.0% C 0.040 H 192.5°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#0C2F2E
RGBrgb(12, 47, 46)
HSLhsl(178, 59%, 12%)
HSVhsv(178, 74%, 18%)
CMYKcmyk(74.5%, 0%, 2.1%, 81.6%)
CIE-LABlab(17.03, -12.61, -3.07)
CIE-LCHlch(17.03, 12.98, 193.68°)
OKLaboklab(28% -0.0386 -0.0085)
OKLCHoklch(28% 0.04 192.5)
XYZxyz(1.6611, 2.3083, 2.9422)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F2E #2F0C0D
analogous
#0C2F1D #0C2F2E #0C1F2F
triadic
#0C2F2E #2E0C2F #2F2E0C
tetradic
#0C2F2E #1D0C2F #2F0C0D #1F2F0C
square
#0C2F2E #1D0C2F #2F0C0D #1F2F0C
split-complementary
#0C2F2E #2F0C1F #2F1D0C
monochromatic
#061818 #061818 #0C2F2E #18605E #25918D

Accessibility & contrast

On white

14.37
#0C2F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C2F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F2E
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F2E#FFFFFF#000000##FFFFFF
##0C2F2E1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2E
Deuteranopia (green-blind)
#26282E
Tritanopia (blue-blind)
#00312F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2f2e;
/* rgb */ color: rgb(12, 47, 46);
/* oklch */ color: oklch(28.0% 0.040 192.5);
Tailwind
colors: {
  custom: {
    50: '#506766',
    500: '#0c2f2e',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f2e;
$custom-light: #506766;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f2e",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 178.286,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28002,
    "c": 0.03953,
    "h": 192.5
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#0C2F2E
secondary
#6B2C2E
accent
#454AE3
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #0C2F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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