#0C2A2E#0C2A2E

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

Color values

HEX#0C2A2E
RGBrgb(12, 42, 46)
HSLhsl(187, 59%, 11%)
HSVhsv(187, 74%, 18%)
CMYKcmyk(73.9%, 8.7%, 0%, 82%)
CIE-LABlab(15.12, -9.50, -5.93)
CIE-LCHlch(15.12, 11.20, 211.96°)
OKLaboklab(26.46% -0.0318 -0.0164)
OKLCHoklch(26.46% 0.036 207.3)
XYZxyz(1.4725, 1.9312, 2.8794)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A2E #2E100C
analogous
#0C2E21 #0C2A2E #0C192E
triadic
#0C2A2E #2E0C2A #2A2E0C
tetradic
#0C2A2E #210C2E #2E100C #192E0C
square
#0C2A2E #210C2E #2E100C #192E0C
split-complementary
#0C2A2E #2E0C19 #2E210C
monochromatic
#061618 #061618 #0C2A2E #19565F #25838F

Accessibility & contrast

On white

15.15
#0C2A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2A2E
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A2E#FFFFFF#000000##FFFFFF
##0C2A2E1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c2a2e;
/* rgb */ color: rgb(12, 42, 46);
/* oklch */ color: oklch(26.5% 0.036 207.3);
Tailwind
colors: {
  custom: {
    50: '#506366',
    500: '#0c2a2e',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a2e;
$custom-light: #506366;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a2e",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 187.059,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.26463,
    "c": 0.03582,
    "h": 207.3
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#0C2A2E
secondary
#6A332C
accent
#5846E2
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #0C2A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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