#0C2F30#0C2F30

#0C2F30 is a dark, muted teal. Relative luminance 0.023; OKLCH L 28.1% C 0.039 H 197.8°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#0C2F30
RGBrgb(12, 47, 48)
HSLhsl(182, 60%, 12%)
HSVhsv(182, 75%, 19%)
CMYKcmyk(75%, 2.1%, 0%, 81.2%)
CIE-LABlab(17.11, -11.90, -4.35)
CIE-LCHlch(17.11, 12.67, 200.08°)
OKLaboklab(28.09% -0.0375 -0.012)
OKLCHoklch(28.09% 0.039 197.8)
XYZxyz(1.7014, 2.3244, 3.1547)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F30 #300D0C
analogous
#0C301F #0C2F30 #0C1D30
triadic
#0C2F30 #300C2F #2F300C
tetradic
#0C2F30 #1F0C30 #300D0C #1D300C
square
#0C2F30 #1F0C30 #300D0C #1D300C
split-complementary
#0C2F30 #300C1D #301F0C
monochromatic
#061818 #061818 #0C2F30 #185F61 #248F92

Accessibility & contrast

On white

14.33
#0C2F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0C2F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F30
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F30#FFFFFF#000000##FFFFFF
##0C2F301.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C30
Deuteranopia (green-blind)
#262830
Tritanopia (blue-blind)
#00312F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2f30;
/* rgb */ color: rgb(12, 47, 48);
/* oklch */ color: oklch(28.1% 0.039 197.8);
Tailwind
colors: {
  custom: {
    50: '#516768',
    500: '#0c2f30',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f30;
$custom-light: #516768;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f30",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 48
  },
  "hsl": {
    "h": 181.667,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2809,
    "c": 0.03939,
    "h": 197.8
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#0C2F30
secondary
#6C2E2C
accent
#4945E3
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #0C2F30

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

Preview Lab → · Contrast checker → · Palette generator →

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