#0C2C30#0C2C30

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

Color values

HEX#0C2C30
RGBrgb(12, 44, 48)
HSLhsl(187, 60%, 12%)
HSVhsv(187, 75%, 19%)
CMYKcmyk(75%, 8.3%, 0%, 81.2%)
CIE-LABlab(15.97, -10.03, -6.06)
CIE-LCHlch(15.97, 11.72, 211.14°)
OKLaboklab(27.17% -0.0335 -0.0168)
OKLCHoklch(27.17% 0.037 206.6)
XYZxyz(1.5856, 2.0928, 3.1161)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C30 #30100C
analogous
#0C3022 #0C2C30 #0C1A30
triadic
#0C2C30 #300C2C #2C300C
tetradic
#0C2C30 #220C30 #30100C #1A300C
square
#0C2C30 #220C30 #30100C #1A300C
split-complementary
#0C2C30 #300C1A #30220C
monochromatic
#061618 #061618 #0C2C30 #185961 #248692

Accessibility & contrast

On white

14.80
#0C2C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2C30
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C30#FFFFFF#000000##FFFFFF
##0C2C301.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A30
Deuteranopia (green-blind)
#222630
Tritanopia (blue-blind)
#002E2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2c30;
/* rgb */ color: rgb(12, 44, 48);
/* oklch */ color: oklch(27.2% 0.037 206.6);
Tailwind
colors: {
  custom: {
    50: '#506568',
    500: '#0c2c30',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c30;
$custom-light: #506568;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c30",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 48
  },
  "hsl": {
    "h": 186.667,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27171,
    "c": 0.03748,
    "h": 206.6
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#0C2C30
secondary
#6C332C
accent
#5645E3
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #0C2C30

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

Preview Lab → · Contrast checker → · Palette generator →

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