#0C2E34#0C2E34

#0C2E34 is a dark, muted teal. Relative luminance 0.023; OKLCH L 28.0% C 0.040 H 211.3°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#0C2E34
RGBrgb(12, 46, 52)
HSLhsl(189, 63%, 13%)
HSVhsv(189, 77%, 20%)
CMYKcmyk(76.9%, 11.5%, 0%, 79.6%)
CIE-LABlab(16.89, -9.79, -7.46)
CIE-LCHlch(16.89, 12.31, 217.29°)
OKLaboklab(27.97% -0.0341 -0.0207)
OKLCHoklch(27.97% 0.04 211.3)
XYZxyz(1.7482, 2.2799, 3.5961)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E34 #34120C
analogous
#0C3426 #0C2E34 #0C1A34
triadic
#0C2E34 #340C2E #2E340C
tetradic
#0C2E34 #260C34 #34120C #1A340C
square
#0C2E34 #260C34 #34120C #1A340C
split-complementary
#0C2E34 #340C1A #34260C
monochromatic
#061619 #061619 #0C2E34 #175A66 #238697

Accessibility & contrast

On white

14.42
#0C2E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C2E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E34
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E34#FFFFFF#000000##FFFFFF
##0C2E341.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292C34
Deuteranopia (green-blind)
#232834
Tritanopia (blue-blind)
#003130
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c2e34;
/* rgb */ color: rgb(12, 46, 52);
/* oklch */ color: oklch(28.0% 0.040 211.3);
Tailwind
colors: {
  custom: {
    50: '#51666b',
    500: '#0c2e34',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e34;
$custom-light: #51666b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e34",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 52
  },
  "hsl": {
    "h": 189,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.27973,
    "c": 0.03987,
    "h": 211.3
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#0C2E34
secondary
#70362C
accent
#5B42E6
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #0C2E34

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

Preview Lab → · Contrast checker → · Palette generator →

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