#0C2A2D#0C2A2D

#0C2A2D is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.4% C 0.036 H 204.3°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#0C2A2D
RGBrgb(12, 42, 45)
HSLhsl(185, 58%, 11%)
HSVhsv(185, 73%, 18%)
CMYKcmyk(73.3%, 6.7%, 0%, 82.4%)
CIE-LABlab(15.08, -9.87, -5.28)
CIE-LCHlch(15.08, 11.20, 208.15°)
OKLaboklab(26.42% -0.0324 -0.0146)
OKLCHoklch(26.42% 0.036 204.3)
XYZxyz(1.4530, 1.9234, 2.7768)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A2D #2D0F0C
analogous
#0C2D1F #0C2A2D #0C192D
triadic
#0C2A2D #2D0C2A #2A2D0C
tetradic
#0C2A2D #1F0C2D #2D0F0C #192D0C
square
#0C2A2D #1F0C2D #2D0F0C #192D0C
split-complementary
#0C2A2D #2D0C19 #2D1F0C
monochromatic
#061718 #061718 #0C2A2D #19575D #26848E

Accessibility & contrast

On white

15.16
#0C2A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0C2A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A2D
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A2D#FFFFFF#000000##FFFFFF
##0C2A2D1.0015.161.3815.16
#FFFFFF15.161.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282D
Deuteranopia (green-blind)
#21242D
Tritanopia (blue-blind)
#002C2B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2a2d;
/* rgb */ color: rgb(12, 42, 45);
/* oklch */ color: oklch(26.4% 0.036 204.3);
Tailwind
colors: {
  custom: {
    50: '#4f6365',
    500: '#0c2a2d',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a2d;
$custom-light: #4f6365;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a2d",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 45
  },
  "hsl": {
    "h": 185.455,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26415,
    "c": 0.03553,
    "h": 204.3
  },
  "luminance": 0.01924
}

Semantic roles & 50–950 ramp

primary
#0C2A2D
secondary
#69322C
accent
#5547E1
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020505
muted
#78797A

Preview Lab

Preview with #0C2A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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