#0C2F2F#0C2F2F

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

Color values

HEX#0C2F2F
RGBrgb(12, 47, 47)
HSLhsl(180, 59%, 12%)
HSVhsv(180, 74%, 18%)
CMYKcmyk(74.5%, 0%, 0%, 81.6%)
CIE-LABlab(17.07, -12.26, -3.71)
CIE-LCHlch(17.07, 12.81, 196.85°)
OKLaboklab(28.05% -0.038 -0.0103)
OKLCHoklch(28.05% 0.039 195.1)
XYZxyz(1.6810, 2.3162, 3.0473)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F2F #2F0C0C
analogous
#0C2F1E #0C2F2F #0C1E2F
triadic
#0C2F2F #2F0C2F #2F2F0C
tetradic
#0C2F2F #1E0C2F #2F0C0C #1E2F0C
square
#0C2F2F #1E0C2F #2F0C0C #1E2F0C
split-complementary
#0C2F2F #2F0C1E #2F1E0C
monochromatic
#061818 #061818 #0C2F2F #186060 #259191

Accessibility & contrast

On white

14.35
#0C2F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F2F
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F2F#FFFFFF#000000##FFFFFF
##0C2F2F1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2f2f;
/* rgb */ color: rgb(12, 47, 47);
/* oklch */ color: oklch(28.0% 0.039 195.1);
Tailwind
colors: {
  custom: {
    50: '#506767',
    500: '#0c2f2f',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f2f;
$custom-light: #506767;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f2f",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 180,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28046,
    "c": 0.03942,
    "h": 195.1
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#0C2F2F
secondary
#6B2C2C
accent
#4545E3
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #0C2F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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