#0C302D#0C302D

#0C302D is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.3% C 0.041 H 187.4°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#0C302D
RGBrgb(12, 48, 45)
HSLhsl(175, 60%, 12%)
HSVhsv(175, 75%, 19%)
CMYKcmyk(75%, 0%, 6.2%, 81.2%)
CIE-LABlab(17.37, -13.55, -1.86)
CIE-LCHlch(17.37, 13.68, 187.83°)
OKLaboklab(28.27% -0.0405 -0.0053)
OKLCHoklch(28.27% 0.041 187.4)
XYZxyz(1.6820, 2.3813, 2.8531)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C302D #300C0F
analogous
#0C301B #0C302D #0C2130
triadic
#0C302D #2D0C30 #302D0C
tetradic
#0C302D #1B0C30 #300C0F #21300C
square
#0C302D #1B0C30 #300C0F #21300C
split-complementary
#0C302D #300C21 #301B0C
monochromatic
#061817 #061817 #0C302D #18615B #249289

Accessibility & contrast

On white

14.22
#0C302D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C302D
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C302D#FFFFFF#000000##FFFFFF
##0C302D1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2D
Deuteranopia (green-blind)
#28292D
Tritanopia (blue-blind)
#00312F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c302d;
/* rgb */ color: rgb(12, 48, 45);
/* oklch */ color: oklch(28.3% 0.041 187.4);
Tailwind
colors: {
  custom: {
    50: '#506865',
    500: '#0c302d',
    950: '#000000',
  },
}
SCSS
$custom: #0c302d;
$custom-light: #506865;
$custom-dark: #000000;
JSON
{
  "hex": "#0c302d",
  "rgb": {
    "r": 12,
    "g": 48,
    "b": 45
  },
  "hsl": {
    "h": 175,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2827,
    "c": 0.04084,
    "h": 187.4
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#0C302D
secondary
#6C2C31
accent
#4552E3
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #0C302D

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

Preview Lab → · Contrast checker → · Palette generator →

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