#0C2E23#0C2E23

#0C2E23 is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.3% C 0.045 H 168.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#0C2E23
RGBrgb(12, 46, 35)
HSLhsl(161, 59%, 11%)
HSVhsv(161, 74%, 18%)
CMYKcmyk(73.9%, 0%, 23.9%, 82%)
CIE-LABlab(16.27, -15.62, 3.50)
CIE-LCHlch(16.27, 16.01, 167.39°)
OKLaboklab(27.27% -0.0436 0.009)
OKLCHoklch(27.27% 0.045 168.4)
XYZxyz(1.4318, 2.1534, 1.9300)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E23 #2E0C17
analogous
#0C2E12 #0C2E23 #0C282E
triadic
#0C2E23 #230C2E #2E230C
tetradic
#0C2E23 #120C2E #2E0C17 #282E0C
square
#0C2E23 #120C2E #2E0C17 #282E0C
split-complementary
#0C2E23 #2E0C28 #2E120C
monochromatic
#061812 #061812 #0C2E23 #195F48 #258F6D

Accessibility & contrast

On white

14.68
#0C2E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E23
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E23#FFFFFF#000000##FFFFFF
##0C2E231.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2A22
Deuteranopia (green-blind)
#282724
Tritanopia (blue-blind)
#002E2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2e23;
/* rgb */ color: rgb(12, 46, 35);
/* oklch */ color: oklch(27.3% 0.045 168.4);
Tailwind
colors: {
  custom: {
    50: '#4f675d',
    500: '#0c2e23',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e23;
$custom-light: #4f675d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e23",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 35
  },
  "hsl": {
    "h": 160.588,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27265,
    "c": 0.04453,
    "h": 168.4
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#0C2E23
secondary
#6A2C40
accent
#4678E2
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020604
muted
#787A79

Preview Lab

Preview with #0C2E23

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

Preview Lab → · Contrast checker → · Palette generator →

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