#0C2E2F#0C2E2F

#0C2E2F is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.7% C 0.039 H 197.9°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#0C2E2F
RGBrgb(12, 46, 47)
HSLhsl(182, 59%, 12%)
HSVhsv(182, 74%, 18%)
CMYKcmyk(74.5%, 2.1%, 0%, 81.6%)
CIE-LABlab(16.69, -11.65, -4.28)
CIE-LCHlch(16.69, 12.41, 200.18°)
OKLaboklab(27.74% -0.0367 -0.0119)
OKLCHoklch(27.74% 0.039 197.9)
XYZxyz(1.6415, 2.2372, 3.0341)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E2F #2F0D0C
analogous
#0C2F1F #0C2E2F #0C1D2F
triadic
#0C2E2F #2F0C2E #2E2F0C
tetradic
#0C2E2F #1F0C2F #2F0D0C #1D2F0C
square
#0C2E2F #1F0C2F #2F0D0C #1D2F0C
split-complementary
#0C2E2F #2F0C1D #2F1F0C
monochromatic
#061818 #061818 #0C2E2F #185E60 #258D91

Accessibility & contrast

On white

14.51
#0C2E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0C2E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E2F
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E2F#FFFFFF#000000##FFFFFF
##0C2E2F1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2C2F
Deuteranopia (green-blind)
#25282F
Tritanopia (blue-blind)
#00302E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2e2f;
/* rgb */ color: rgb(12, 46, 47);
/* oklch */ color: oklch(27.7% 0.039 197.9);
Tailwind
colors: {
  custom: {
    50: '#506667',
    500: '#0c2e2f',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e2f;
$custom-light: #506667;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e2f",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 181.714,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27738,
    "c": 0.03859,
    "h": 197.9
  },
  "luminance": 0.02237
}

Semantic roles & 50–950 ramp

primary
#0C2E2F
secondary
#6B2E2C
accent
#4A45E3
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #0C2E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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