#0C3B2F#0C3B2F

#0C3B2F is a dark, muted teal. Relative luminance 0.034; OKLCH L 31.8% C 0.054 H 172.0°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#0C3B2F
RGBrgb(12, 59, 47)
HSLhsl(165, 66%, 14%)
HSVhsv(165, 80%, 23%)
CMYKcmyk(79.7%, 0%, 20.3%, 76.9%)
CIE-LABlab(21.62, -19.05, 2.95)
CIE-LCHlch(21.62, 19.28, 171.19°)
OKLaboklab(31.75% -0.0536 0.0075)
OKLCHoklch(31.75% 0.054 172)
XYZxyz(2.2284, 3.4111, 3.2297)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3B2F #3B0C18
analogous
#0C3B18 #0C3B2F #0C303B
triadic
#0C3B2F #2F0C3B #3B2F0C
tetradic
#0C3B2F #180C3B #3B0C18 #303B0C
square
#0C3B2F #180C3B #3B0C18 #303B0C
split-complementary
#0C3B2F #3B0C30 #3B180C
monochromatic
#051914 #051914 #0C3B2F #166E58 #21A180

Accessibility & contrast

On white

12.48
#0C3B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#0C3B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3B2F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3B2F#FFFFFF#000000##FFFFFF
##0C3B2F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39372E
Deuteranopia (green-blind)
#333230
Tritanopia (blue-blind)
#003C38
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0c3b2f;
/* rgb */ color: rgb(12, 59, 47);
/* oklch */ color: oklch(31.8% 0.054 172.0);
Tailwind
colors: {
  custom: {
    50: '#537167',
    500: '#0c3b2f',
    950: '#000000',
  },
}
SCSS
$custom: #0c3b2f;
$custom-light: #537167;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3b2f",
  "rgb": {
    "r": 12,
    "g": 59,
    "b": 47
  },
  "hsl": {
    "h": 164.681,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31751,
    "c": 0.05412,
    "h": 172
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#0C3B2F
secondary
#772C3F
accent
#3F6AE9
background
#F4F6F6
surface
#E8ECEB
border
#C4C7C6
text
#030706
muted
#787A7A

Preview Lab

Preview with #0C3B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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