#0C301E#0C301E

#0C301E is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.8% C 0.053 H 158.1°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#0C301E
RGBrgb(12, 48, 30)
HSLhsl(150, 60%, 12%)
HSVhsv(150, 75%, 19%)
CMYKcmyk(75%, 0%, 37.5%, 81.2%)
CIE-LABlab(16.92, -18.10, 7.84)
CIE-LCHlch(16.92, 19.72, 156.57°)
OKLaboklab(27.75% -0.0493 0.0199)
OKLCHoklch(27.75% 0.053 158.1)
XYZxyz(1.4428, 2.2857, 1.5932)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C301E #300C1E
analogous
#0C300C #0C301E #0C3030
triadic
#0C301E #1E0C30 #301E0C
tetradic
#0C301E #0C0C30 #300C1E #30300C
square
#0C301E #0C0C30 #300C1E #30300C
split-complementary
#0C301E #300C30 #300C0C
monochromatic
#06180F #06180F #0C301E #18613D #24925B

Accessibility & contrast

On white

14.41
#0C301E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C301E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C301E
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C301E#FFFFFF#000000##FFFFFF
##0C301E1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1D
Deuteranopia (green-blind)
#2B281F
Tritanopia (blue-blind)
#00302B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c301e;
/* rgb */ color: rgb(12, 48, 30);
/* oklch */ color: oklch(27.8% 0.053 158.1);
Tailwind
colors: {
  custom: {
    50: '#506859',
    500: '#0c301e',
    950: '#000000',
  },
}
SCSS
$custom: #0c301e;
$custom-light: #506859;
$custom-dark: #000000;
JSON
{
  "hex": "#0c301e",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 30
  },
  "hsl": {
    "h": 150,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2775,
    "c": 0.05316,
    "h": 158.1
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#0C301E
secondary
#6C2C4C
accent
#4594E3
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C301E

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

Preview Lab → · Contrast checker → · Palette generator →

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