#0C2B2F#0C2B2F

#0C2B2F is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.8% C 0.037 H 206.9°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#0C2B2F
RGBrgb(12, 43, 47)
HSLhsl(187, 59%, 12%)
HSVhsv(187, 74%, 18%)
CMYKcmyk(74.5%, 8.5%, 0%, 81.6%)
CIE-LABlab(15.54, -9.77, -5.99)
CIE-LCHlch(15.54, 11.46, 211.54°)
OKLaboklab(26.82% -0.0327 -0.0166)
OKLCHoklch(26.82% 0.037 206.9)
XYZxyz(1.5284, 2.0110, 2.9964)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B2F #2F100C
analogous
#0C2F22 #0C2B2F #0C1A2F
triadic
#0C2B2F #2F0C2B #2B2F0C
tetradic
#0C2B2F #220C2F #2F100C #1A2F0C
square
#0C2B2F #220C2F #2F100C #1A2F0C
split-complementary
#0C2B2F #2F0C1A #2F220C
monochromatic
#061618 #061618 #0C2B2F #185860 #258491

Accessibility & contrast

On white

14.98
#0C2B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0C2B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B2F
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B2F#FFFFFF#000000##FFFFFF
##0C2B2F1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292F
Deuteranopia (green-blind)
#22252F
Tritanopia (blue-blind)
#002D2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2b2f;
/* rgb */ color: rgb(12, 43, 47);
/* oklch */ color: oklch(26.8% 0.037 206.9);
Tailwind
colors: {
  custom: {
    50: '#506467',
    500: '#0c2b2f',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b2f;
$custom-light: #506467;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b2f",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 47
  },
  "hsl": {
    "h": 186.857,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.26817,
    "c": 0.03666,
    "h": 206.9
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#0C2B2F
secondary
#6B332C
accent
#5745E3
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #0C2B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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