#0C2E31#0C2E31

#0C2E31 is a dark, muted teal. Relative luminance 0.023; OKLCH L 27.8% C 0.039 H 203.4°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#0C2E31
RGBrgb(12, 46, 49)
HSLhsl(185, 61%, 12%)
HSVhsv(185, 76%, 19%)
CMYKcmyk(75.5%, 6.1%, 0%, 80.8%)
CIE-LABlab(16.77, -10.92, -5.56)
CIE-LCHlch(16.77, 12.25, 206.98°)
OKLaboklab(27.83% -0.0356 -0.0154)
OKLCHoklch(27.83% 0.039 203.4)
XYZxyz(1.6828, 2.2537, 3.2515)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2E31 #310F0C
analogous
#0C3122 #0C2E31 #0C1C31
triadic
#0C2E31 #310C2E #2E310C
tetradic
#0C2E31 #220C31 #310F0C #1C310C
square
#0C2E31 #220C31 #310F0C #1C310C
split-complementary
#0C2E31 #310C1C #31220C
monochromatic
#061719 #061719 #0C2E31 #185C62 #248A93

Accessibility & contrast

On white

14.47
#0C2E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0C2E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2E31
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2E31#FFFFFF#000000##FFFFFF
##0C2E311.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2C31
Deuteranopia (green-blind)
#242831
Tritanopia (blue-blind)
#00302F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2e31;
/* rgb */ color: rgb(12, 46, 49);
/* oklch */ color: oklch(27.8% 0.039 203.4);
Tailwind
colors: {
  custom: {
    50: '#506669',
    500: '#0c2e31',
    950: '#000000',
  },
}
SCSS
$custom: #0c2e31;
$custom-light: #506669;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2e31",
  "rgb": {
    "r": 12,
    "g": 46,
    "b": 49
  },
  "hsl": {
    "h": 184.865,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2783,
    "c": 0.03882,
    "h": 203.4
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#0C2E31
secondary
#6D312C
accent
#5144E4
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020606
muted
#787A7A

Preview Lab

Preview with #0C2E31

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

Preview Lab → · Contrast checker → · Palette generator →

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