#0C312D#0C312D

#0C312D is a dark, muted teal. Relative luminance 0.025; OKLCH L 28.6% C 0.042 H 185.1°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#0C312D
RGBrgb(12, 49, 45)
HSLhsl(174, 61%, 12%)
HSVhsv(174, 76%, 19%)
CMYKcmyk(75.5%, 0%, 8.2%, 80.8%)
CIE-LABlab(17.76, -14.14, -1.30)
CIE-LCHlch(17.76, 14.20, 185.25°)
OKLaboklab(28.58% -0.0418 -0.0037)
OKLCHoklch(28.58% 0.042 185.1)
XYZxyz(1.7234, 2.4641, 2.8669)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C312D #310C10
analogous
#0C311B #0C312D #0C2331
triadic
#0C312D #2D0C31 #312D0C
tetradic
#0C312D #1B0C31 #310C10 #23310C
square
#0C312D #1B0C31 #310C10 #23310C
split-complementary
#0C312D #310C23 #311B0C
monochromatic
#061917 #061917 #0C312D #18625A #249387

Accessibility & contrast

On white

14.07
#0C312D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0C312D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C312D
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C312D#FFFFFF#000000##FFFFFF
##0C312D1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2E2D
Deuteranopia (green-blind)
#292A2D
Tritanopia (blue-blind)
#003230
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c312d;
/* rgb */ color: rgb(12, 49, 45);
/* oklch */ color: oklch(28.6% 0.042 185.1);
Tailwind
colors: {
  custom: {
    50: '#516965',
    500: '#0c312d',
    950: '#000000',
  },
}
SCSS
$custom: #0c312d;
$custom-light: #516965;
$custom-dark: #000000;
JSON
{
  "hex": "#0c312d",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 173.514,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2858,
    "c": 0.042,
    "h": 185.1
  },
  "luminance": 0.02464
}

Semantic roles & 50–950 ramp

primary
#0C312D
secondary
#6D2C33
accent
#4455E4
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020605
muted
#787A7A

Preview Lab

Preview with #0C312D

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

Preview Lab → · Contrast checker → · Palette generator →

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