#0C373F#0C373F

#0C373F is a dark, muted teal. Relative luminance 0.032; OKLCH L 31.2% C 0.047 H 212.7°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#0C373F
RGBrgb(12, 55, 63)
HSLhsl(189, 68%, 15%)
HSVhsv(189, 81%, 25%)
CMYKcmyk(81%, 12.7%, 0%, 75.3%)
CIE-LABlab(20.71, -11.24, -9.21)
CIE-LCHlch(20.71, 14.53, 219.31°)
OKLaboklab(31.2% -0.0399 -0.0256)
OKLCHoklch(31.2% 0.047 212.7)
XYZxyz(2.4146, 3.1691, 5.1861)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C373F #3F140C
analogous
#0C3F2E #0C373F #0C1E3F
triadic
#0C373F #3F0C37 #373F0C
tetradic
#0C373F #2E0C3F #3F140C #1E3F0C
square
#0C373F #2E0C3F #3F140C #1E3F0C
split-complementary
#0C373F #3F0C1E #3F2E0C
monochromatic
#05161A #05161A #0C373F #166472 #2091A6

Accessibility & contrast

On white

12.85
#0C373F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#0C373F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C373F
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C373F#FFFFFF#000000##FFFFFF
##0C373F1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31353F
Deuteranopia (green-blind)
#2A303F
Tritanopia (blue-blind)
#003A39
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0c373f;
/* rgb */ color: rgb(12, 55, 63);
/* oklch */ color: oklch(31.2% 0.047 212.7);
Tailwind
colors: {
  custom: {
    50: '#546e74',
    500: '#0c373f',
    950: '#000000',
  },
}
SCSS
$custom: #0c373f;
$custom-light: #546e74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c373f",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 63
  },
  "hsl": {
    "h": 189.412,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31204,
    "c": 0.04743,
    "h": 212.7
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#0C373F
secondary
#7B382C
accent
#583DEB
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030708
muted
#787A7B

Preview Lab

Preview with #0C373F

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

Preview Lab → · Contrast checker → · Palette generator →

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