#0C302F#0C302F

#0C302F is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.4% C 0.040 H 192.5°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#0C302F
RGBrgb(12, 48, 47)
HSLhsl(178, 60%, 12%)
HSVhsv(178, 75%, 19%)
CMYKcmyk(75%, 0%, 2.1%, 81.2%)
CIE-LABlab(17.45, -12.86, -3.14)
CIE-LCHlch(17.45, 13.24, 193.74°)
OKLaboklab(28.35% -0.0394 -0.0088)
OKLCHoklch(28.35% 0.04 192.5)
XYZxyz(1.7214, 2.3971, 3.0607)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C302F #300C0D
analogous
#0C301D #0C302F #0C1F30
triadic
#0C302F #2F0C30 #302F0C
tetradic
#0C302F #1D0C30 #300C0D #1F300C
square
#0C302F #1D0C30 #300C0D #1F300C
split-complementary
#0C302F #300C1F #301D0C
monochromatic
#061818 #061818 #0C302F #18615F #24928F

Accessibility & contrast

On white

14.19
#0C302F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C302F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C302F
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C302F#FFFFFF#000000##FFFFFF
##0C302F1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2F
Deuteranopia (green-blind)
#27292F
Tritanopia (blue-blind)
#003230
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c302f;
/* rgb */ color: rgb(12, 48, 47);
/* oklch */ color: oklch(28.4% 0.040 192.5);
Tailwind
colors: {
  custom: {
    50: '#516867',
    500: '#0c302f',
    950: '#000000',
  },
}
SCSS
$custom: #0c302f;
$custom-light: #516867;
$custom-dark: #000000;
JSON
{
  "hex": "#0c302f",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 47
  },
  "hsl": {
    "h": 178.333,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28354,
    "c": 0.04034,
    "h": 192.5
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#0C302F
secondary
#6C2C2E
accent
#4549E3
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #0C302F

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

Preview Lab → · Contrast checker → · Palette generator →

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