#0C2F34#0C2F34

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

Color values

HEX#0C2F34
RGBrgb(12, 47, 52)
HSLhsl(188, 63%, 13%)
HSVhsv(188, 77%, 20%)
CMYKcmyk(76.9%, 9.6%, 0%, 79.6%)
CIE-LABlab(17.27, -10.43, -6.89)
CIE-LCHlch(17.27, 12.50, 213.45°)
OKLaboklab(28.28% -0.0354 -0.0191)
OKLCHoklch(28.28% 0.04 208.4)
XYZxyz(1.7877, 2.3589, 3.6092)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F34 #34110C
analogous
#0C3425 #0C2F34 #0C1B34
triadic
#0C2F34 #340C2F #2F340C
tetradic
#0C2F34 #250C34 #34110C #1B340C
square
#0C2F34 #250C34 #34110C #1B340C
split-complementary
#0C2F34 #340C1B #34250C
monochromatic
#061619 #061619 #0C2F34 #175C66 #238997

Accessibility & contrast

On white

14.27
#0C2F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F34
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F34#FFFFFF#000000##FFFFFF
##0C2F341.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2f34;
/* rgb */ color: rgb(12, 47, 52);
/* oklch */ color: oklch(28.3% 0.040 208.4);
Tailwind
colors: {
  custom: {
    50: '#51676b',
    500: '#0c2f34',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f34;
$custom-light: #51676b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f34",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 52
  },
  "hsl": {
    "h": 187.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28276,
    "c": 0.04021,
    "h": 208.4
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#0C2F34
secondary
#70342C
accent
#5742E6
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #0C2F34

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

Preview Lab → · Contrast checker → · Palette generator →

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