#0C2C2F#0C2C2F

#0C2C2F is a dark, muted teal. Relative luminance 0.021; OKLCH L 27.1% C 0.037 H 203.8°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#0C2C2F
RGBrgb(12, 44, 47)
HSLhsl(185, 59%, 12%)
HSVhsv(185, 74%, 18%)
CMYKcmyk(74.5%, 6.4%, 0%, 81.6%)
CIE-LABlab(15.93, -10.40, -5.42)
CIE-LCHlch(15.93, 11.73, 207.53°)
OKLaboklab(27.12% -0.034 -0.015)
OKLCHoklch(27.12% 0.037 203.8)
XYZxyz(1.5652, 2.0846, 3.0087)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C2F #2F0F0C
analogous
#0C2F21 #0C2C2F #0C1B2F
triadic
#0C2C2F #2F0C2C #2C2F0C
tetradic
#0C2C2F #210C2F #2F0F0C #1B2F0C
square
#0C2C2F #210C2F #2F0F0C #1B2F0C
split-complementary
#0C2C2F #2F0C1B #2F210C
monochromatic
#061718 #061718 #0C2C2F #185A60 #258791

Accessibility & contrast

On white

14.82
#0C2C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0C2C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C2F
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C2F#FFFFFF#000000##FFFFFF
##0C2C2F1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A2F
Deuteranopia (green-blind)
#23262F
Tritanopia (blue-blind)
#002E2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2c2f;
/* rgb */ color: rgb(12, 44, 47);
/* oklch */ color: oklch(27.1% 0.037 203.8);
Tailwind
colors: {
  custom: {
    50: '#506567',
    500: '#0c2c2f',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c2f;
$custom-light: #506567;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c2f",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 47
  },
  "hsl": {
    "h": 185.143,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27124,
    "c": 0.03719,
    "h": 203.8
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#0C2C2F
secondary
#6B312C
accent
#5345E3
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #0C2C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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