#0C372E#0C372E

#0C372E is a dark, muted teal. Relative luminance 0.030; OKLCH L 30.5% C 0.049 H 176.0°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#0C372E
RGBrgb(12, 55, 46)
HSLhsl(167, 64%, 13%)
HSVhsv(167, 78%, 22%)
CMYKcmyk(78.2%, 0%, 16.4%, 78.4%)
CIE-LABlab(20.07, -17.21, 1.40)
CIE-LCHlch(20.07, 17.27, 175.35°)
OKLaboklab(30.48% -0.0491 0.0034)
OKLCHoklch(30.48% 0.049 176)
XYZxyz(2.0107, 3.0076, 3.0588)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C372E #370C15
analogous
#0C3718 #0C372E #0C2A37
triadic
#0C372E #2E0C37 #372E0C
tetradic
#0C372E #180C37 #370C15 #2A370C
square
#0C372E #180C37 #370C15 #2A370C
split-complementary
#0C372E #370C2A #37180C
monochromatic
#051915 #051915 #0C372E #176958 #229B82

Accessibility & contrast

On white

13.11
#0C372E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0C372E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C372E
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C372E#FFFFFF#000000##FFFFFF
##0C372E1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332E
Deuteranopia (green-blind)
#2F2F2F
Tritanopia (blue-blind)
#003834
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c372e;
/* rgb */ color: rgb(12, 55, 46);
/* oklch */ color: oklch(30.5% 0.049 176.0);
Tailwind
colors: {
  custom: {
    50: '#526e66',
    500: '#0c372e',
    950: '#000000',
  },
}
SCSS
$custom: #0c372e;
$custom-light: #526e66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c372e",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 46
  },
  "hsl": {
    "h": 167.442,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30479,
    "c": 0.04921,
    "h": 176
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#0C372E
secondary
#732C3B
accent
#4163E7
background
#F4F6F6
surface
#E7ECEB
border
#C3C7C6
text
#020706
muted
#787A7A

Preview Lab

Preview with #0C372E

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

Preview Lab → · Contrast checker → · Palette generator →

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