#0C2F2D#0C2F2D

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

Color values

HEX#0C2F2D
RGBrgb(12, 47, 45)
HSLhsl(177, 59%, 12%)
HSVhsv(177, 74%, 18%)
CMYKcmyk(74.5%, 0%, 4.3%, 81.6%)
CIE-LABlab(16.99, -12.96, -2.43)
CIE-LCHlch(16.99, 13.18, 190.62°)
OKLaboklab(27.96% -0.0392 -0.0068)
OKLCHoklch(27.96% 0.04 189.8)
XYZxyz(1.6416, 2.3005, 2.8396)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F2D #2F0C0E
analogous
#0C2F1C #0C2F2D #0C202F
triadic
#0C2F2D #2D0C2F #2F2D0C
tetradic
#0C2F2D #1C0C2F #2F0C0E #202F0C
square
#0C2F2D #1C0C2F #2F0C0E #202F0C
split-complementary
#0C2F2D #2F0C20 #2F1C0C
monochromatic
#061817 #061817 #0C2F2D #18605C #25918A

Accessibility & contrast

On white

14.38
#0C2F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F2D
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F2D#FFFFFF#000000##FFFFFF
##0C2F2D1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2C2D
Deuteranopia (green-blind)
#27282D
Tritanopia (blue-blind)
#00302E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2f2d;
/* rgb */ color: rgb(12, 47, 45);
/* oklch */ color: oklch(28.0% 0.040 189.8);
Tailwind
colors: {
  custom: {
    50: '#506765',
    500: '#0c2f2d',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f2d;
$custom-light: #506765;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f2d",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 176.571,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2796,
    "c": 0.03974,
    "h": 189.8
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#0C2F2D
secondary
#6B2C30
accent
#454EE3
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #0C2F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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