#0C2B2E#0C2B2E

#0C2B2E is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.8% C 0.036 H 204.0°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#0C2B2E
RGBrgb(12, 43, 46)
HSLhsl(185, 59%, 11%)
HSVhsv(185, 74%, 18%)
CMYKcmyk(73.9%, 6.5%, 0%, 82%)
CIE-LABlab(15.50, -10.14, -5.35)
CIE-LCHlch(15.50, 11.46, 207.83°)
OKLaboklab(26.77% -0.0332 -0.0148)
OKLCHoklch(26.77% 0.036 204)
XYZxyz(1.5084, 2.0030, 2.8914)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B2E #2E0F0C
analogous
#0C2E20 #0C2B2E #0C1A2E
triadic
#0C2B2E #2E0C2B #2B2E0C
tetradic
#0C2B2E #200C2E #2E0F0C #1A2E0C
square
#0C2B2E #200C2E #2E0F0C #1A2E0C
split-complementary
#0C2B2E #2E0C1A #2E200C
monochromatic
#061718 #061718 #0C2B2E #19585F #25868F

Accessibility & contrast

On white

14.99
#0C2B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0C2B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B2E
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B2E#FFFFFF#000000##FFFFFF
##0C2B2E1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292E
Deuteranopia (green-blind)
#22252E
Tritanopia (blue-blind)
#002D2C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2b2e;
/* rgb */ color: rgb(12, 43, 46);
/* oklch */ color: oklch(26.8% 0.036 204.0);
Tailwind
colors: {
  custom: {
    50: '#506466',
    500: '#0c2b2e',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b2e;
$custom-light: #506466;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b2e",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 46
  },
  "hsl": {
    "h": 185.294,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2677,
    "c": 0.03637,
    "h": 204
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#0C2B2E
secondary
#6A322C
accent
#5446E2
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #0C2B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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