#0C2A2F#0C2A2F

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

Color values

HEX#0C2A2F
RGBrgb(12, 42, 47)
HSLhsl(189, 59%, 12%)
HSVhsv(189, 74%, 18%)
CMYKcmyk(74.5%, 10.6%, 0%, 81.6%)
CIE-LABlab(15.16, -9.12, -6.57)
CIE-LCHlch(15.16, 11.24, 215.75°)
OKLaboklab(26.51% -0.0313 -0.0182)
OKLCHoklch(26.51% 0.036 210.2)
XYZxyz(1.4925, 1.9392, 2.9844)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A2F #2F110C
analogous
#0C2F23 #0C2A2F #0C192F
triadic
#0C2A2F #2F0C2A #2A2F0C
tetradic
#0C2A2F #230C2F #2F110C #192F0C
square
#0C2A2F #230C2F #2F110C #192F0C
split-complementary
#0C2A2F #2F0C19 #2F230C
monochromatic
#061618 #061618 #0C2A2F #185660 #258191

Accessibility & contrast

On white

15.13
#0C2A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0C2A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A2F
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A2F#FFFFFF#000000##FFFFFF
##0C2A2F1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2a2f;
/* rgb */ color: rgb(12, 42, 47);
/* oklch */ color: oklch(26.5% 0.036 210.2);
Tailwind
colors: {
  custom: {
    50: '#506367',
    500: '#0c2a2f',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a2f;
$custom-light: #506367;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a2f",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 188.571,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.26512,
    "c": 0.03623,
    "h": 210.2
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#0C2A2F
secondary
#6B352C
accent
#5C45E3
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #0C2A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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