#0C2F33#0C2F33

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

Color values

HEX#0C2F33
RGBrgb(12, 47, 51)
HSLhsl(186, 62%, 12%)
HSVhsv(186, 76%, 20%)
CMYKcmyk(76.5%, 7.8%, 0%, 80%)
CIE-LABlab(17.23, -10.80, -6.26)
CIE-LCHlch(17.23, 12.48, 210.08°)
OKLaboklab(28.23% -0.0359 -0.0173)
OKLCHoklch(28.23% 0.04 205.8)
XYZxyz(1.7654, 2.3500, 3.4919)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F33 #33100C
analogous
#0C3324 #0C2F33 #0C1C33
triadic
#0C2F33 #330C2F #2F330C
tetradic
#0C2F33 #240C33 #33100C #1C330C
square
#0C2F33 #240C33 #33100C #1C330C
split-complementary
#0C2F33 #330C1C #33240C
monochromatic
#061719 #061719 #0C2F33 #185D65 #238A96

Accessibility & contrast

On white

14.29
#0C2F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2F33
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F33#FFFFFF#000000##FFFFFF
##0C2F331.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2f33;
/* rgb */ color: rgb(12, 47, 51);
/* oklch */ color: oklch(28.2% 0.040 205.8);
Tailwind
colors: {
  custom: {
    50: '#51676a',
    500: '#0c2f33',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f33;
$custom-light: #51676a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f33",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 51
  },
  "hsl": {
    "h": 186.154,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28228,
    "c": 0.03987,
    "h": 205.8
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#0C2F33
secondary
#6F332C
accent
#5343E5
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #0C2F33

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

Preview Lab → · Contrast checker → · Palette generator →

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