#0C2E2B#0C2E2B

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

Color values

HEX#0C2E2B
RGBrgb(12, 46, 43)
HSLhsl(175, 59%, 11%)
HSVhsv(175, 74%, 18%)
CMYKcmyk(73.9%, 0%, 6.5%, 82%)
CIE-LABlab(16.54, -13.05, -1.71)
CIE-LCHlch(16.54, 13.16, 187.45°)
OKLaboklab(27.57% -0.0389 -0.0048)
OKLCHoklch(27.57% 0.039 187.1)
XYZxyz(1.5645, 2.2064, 2.6285)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E2B #2E0C0F
analogous
#0C2E1A #0C2E2B #0C202E
triadic
#0C2E2B #2B0C2E #2E2B0C
tetradic
#0C2E2B #1A0C2E #2E0C0F #202E0C
square
#0C2E2B #1A0C2E #2E0C0F #202E0C
split-complementary
#0C2E2B #2E0C20 #2E1A0C
monochromatic
#061817 #061817 #0C2E2B #195F58 #258F86

Accessibility & contrast

On white

14.57
#0C2E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0C2E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E2B
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E2B#FFFFFF#000000##FFFFFF
##0C2E2B1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2B2B
Deuteranopia (green-blind)
#26272B
Tritanopia (blue-blind)
#002F2D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2e2b;
/* rgb */ color: rgb(12, 46, 43);
/* oklch */ color: oklch(27.6% 0.039 187.1);
Tailwind
colors: {
  custom: {
    50: '#506764',
    500: '#0c2e2b',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e2b;
$custom-light: #506764;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e2b",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 174.706,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27566,
    "c": 0.03924,
    "h": 187.1
  },
  "luminance": 0.02207
}

Semantic roles & 50–950 ramp

primary
#0C2E2B
secondary
#6A2C32
accent
#4654E2
background
#F4F6F5
surface
#E7EBEA
border
#C3C6C6
text
#020605
muted
#787A79

Preview Lab

Preview with #0C2E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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