#0C302B#0C302B

#0C302B is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.2% C 0.042 H 182.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#0C302B
RGBrgb(12, 48, 43)
HSLhsl(172, 60%, 12%)
HSVhsv(172, 75%, 19%)
CMYKcmyk(75%, 0%, 10.4%, 81.2%)
CIE-LABlab(17.30, -14.23, -0.58)
CIE-LCHlch(17.30, 14.24, 182.33°)
OKLaboklab(28.19% -0.0416 -0.0018)
OKLCHoklch(28.19% 0.042 182.5)
XYZxyz(1.6444, 2.3663, 2.6551)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C302B #300C11
analogous
#0C3019 #0C302B #0C2330
triadic
#0C302B #2B0C30 #302B0C
tetradic
#0C302B #190C30 #300C11 #23300C
square
#0C302B #190C30 #300C11 #23300C
split-complementary
#0C302B #300C23 #30190C
monochromatic
#061816 #061816 #0C302B #186157 #249283

Accessibility & contrast

On white

14.25
#0C302B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C302B
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C302B#FFFFFF#000000##FFFFFF
##0C302B1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2B
Deuteranopia (green-blind)
#28292B
Tritanopia (blue-blind)
#00312E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c302b;
/* rgb */ color: rgb(12, 48, 43);
/* oklch */ color: oklch(28.2% 0.042 182.5);
Tailwind
colors: {
  custom: {
    50: '#506864',
    500: '#0c302b',
    950: '#000000',
  },
}
SCSS
$custom: #0c302b;
$custom-light: #506864;
$custom-dark: #000000;
JSON
{
  "hex": "#0c302b",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 43
  },
  "hsl": {
    "h": 171.667,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28189,
    "c": 0.04168,
    "h": 182.5
  },
  "luminance": 0.02366
}

Semantic roles & 50–950 ramp

primary
#0C302B
secondary
#6C2C35
accent
#455BE3
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #0C302B

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

Preview Lab → · Contrast checker → · Palette generator →

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