#0C2F2B#0C2F2B

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

Color values

HEX#0C2F2B
RGBrgb(12, 47, 43)
HSLhsl(173, 59%, 12%)
HSVhsv(173, 74%, 18%)
CMYKcmyk(74.5%, 0%, 8.5%, 81.6%)
CIE-LABlab(16.92, -13.64, -1.14)
CIE-LCHlch(16.92, 13.69, 184.78°)
OKLaboklab(27.88% -0.0403 -0.0033)
OKLCHoklch(27.88% 0.04 184.7)
XYZxyz(1.6040, 2.2854, 2.6416)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F2B #2F0C10
analogous
#0C2F1A #0C2F2B #0C222F
triadic
#0C2F2B #2B0C2F #2F2B0C
tetradic
#0C2F2B #1A0C2F #2F0C10 #222F0C
square
#0C2F2B #1A0C2F #2F0C10 #222F0C
split-complementary
#0C2F2B #2F0C22 #2F1A0C
monochromatic
#061816 #061816 #0C2F2B #186058 #259184

Accessibility & contrast

On white

14.41
#0C2F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F2B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F2B#FFFFFF#000000##FFFFFF
##0C2F2B1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2f2b;
/* rgb */ color: rgb(12, 47, 43);
/* oklch */ color: oklch(27.9% 0.040 184.7);
Tailwind
colors: {
  custom: {
    50: '#506764',
    500: '#0c2f2b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f2b;
$custom-light: #506764;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f2b",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 173.143,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27878,
    "c": 0.04043,
    "h": 184.7
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#0C2F2B
secondary
#6B2C33
accent
#4557E3
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #0C2F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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