#0C4237#0C4237

#0C4237 is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.2% C 0.058 H 175.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#0C4237
RGBrgb(12, 66, 55)
HSLhsl(168, 69%, 15%)
HSVhsv(168, 82%, 26%)
CMYKcmyk(81.8%, 0%, 16.7%, 74.1%)
CIE-LABlab(24.48, -20.27, 1.76)
CIE-LCHlch(24.48, 20.34, 175.05°)
OKLaboklab(34.17% -0.0577 0.0043)
OKLCHoklch(34.17% 0.058 175.7)
XYZxyz(2.7891, 4.2501, 4.2870)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4237 #420C17
analogous
#0C421C #0C4237 #0C3242
triadic
#0C4237 #370C42 #42370C
tetradic
#0C4237 #1C0C42 #420C17 #32420C
square
#0C4237 #1C0C42 #420C17 #32420C
split-complementary
#0C4237 #420C32 #421C0C
monochromatic
#051A16 #051A16 #0C4237 #157662 #1FAA8D

Accessibility & contrast

On white

11.35
#0C4237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#0C4237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4237
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4237#FFFFFF#000000##FFFFFF
##0C42371.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D37
Deuteranopia (green-blind)
#383838
Tritanopia (blue-blind)
#00433F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c4237;
/* rgb */ color: rgb(12, 66, 55);
/* oklch */ color: oklch(34.2% 0.058 175.7);
Tailwind
colors: {
  custom: {
    50: '#55776d',
    500: '#0c4237',
    950: '#000000',
  },
}
SCSS
$custom: #0c4237;
$custom-light: #55776d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4237",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 55
  },
  "hsl": {
    "h": 167.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3417,
    "c": 0.05783,
    "h": 175.7
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#0C4237
secondary
#7E2C3D
accent
#3C60EC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #0C4237

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

Preview Lab → · Contrast checker → · Palette generator →

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