#0C2F31#0C2F31

#0C2F31 is a dark, muted teal. Relative luminance 0.023; OKLCH L 28.1% C 0.039 H 200.5°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#0C2F31
RGBrgb(12, 47, 49)
HSLhsl(183, 61%, 12%)
HSVhsv(183, 76%, 19%)
CMYKcmyk(75.5%, 4.1%, 0%, 80.8%)
CIE-LABlab(17.14, -11.54, -4.99)
CIE-LCHlch(17.14, 12.57, 203.37°)
OKLaboklab(28.14% -0.037 -0.0138)
OKLCHoklch(28.14% 0.039 200.5)
XYZxyz(1.7223, 2.3328, 3.2646)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F31 #310E0C
analogous
#0C3121 #0C2F31 #0C1D31
triadic
#0C2F31 #310C2F #2F310C
tetradic
#0C2F31 #210C31 #310E0C #1D310C
square
#0C2F31 #210C31 #310E0C #1D310C
split-complementary
#0C2F31 #310C1D #31210C
monochromatic
#061819 #061819 #0C2F31 #185E62 #248D93

Accessibility & contrast

On white

14.32
#0C2F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F31
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F31#FFFFFF#000000##FFFFFF
##0C2F311.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2D31
Deuteranopia (green-blind)
#252831
Tritanopia (blue-blind)
#003130
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2f31;
/* rgb */ color: rgb(12, 47, 49);
/* oklch */ color: oklch(28.1% 0.039 200.5);
Tailwind
colors: {
  custom: {
    50: '#516769',
    500: '#0c2f31',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f31;
$custom-light: #516769;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f31",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 183.243,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28135,
    "c": 0.03946,
    "h": 200.5
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#0C2F31
secondary
#6D2F2C
accent
#4D44E4
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #0C2F31

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

Preview Lab → · Contrast checker → · Palette generator →

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