#0C4338#0C4338

#0C4338 is a dark, muted teal. Relative luminance 0.044; OKLCH L 34.5% C 0.058 H 175.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#0C4338
RGBrgb(12, 67, 56)
HSLhsl(168, 70%, 15%)
HSVhsv(168, 82%, 26%)
CMYKcmyk(82.1%, 0%, 16.4%, 73.7%)
CIE-LABlab(24.88, -20.48, 1.68)
CIE-LCHlch(24.88, 20.55, 175.32°)
OKLaboklab(34.51% -0.0583 0.0041)
OKLCHoklch(34.51% 0.058 175.9)
XYZxyz(2.8722, 4.3777, 4.4342)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4338 #430C17
analogous
#0C431C #0C4338 #0C3243
triadic
#0C4338 #380C43 #43380C
tetradic
#0C4338 #1C0C43 #430C17 #32430C
square
#0C4338 #1C0C43 #430C17 #32430C
split-complementary
#0C4338 #430C32 #431C0C
monochromatic
#051A16 #051A16 #0C4338 #157763 #1FAB8F

Accessibility & contrast

On white

11.20
#0C4338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#0C4338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4338
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4338#FFFFFF#000000##FFFFFF
##0C43381.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403E38
Deuteranopia (green-blind)
#393939
Tritanopia (blue-blind)
#004440
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c4338;
/* rgb */ color: rgb(12, 67, 56);
/* oklch */ color: oklch(34.5% 0.058 175.9);
Tailwind
colors: {
  custom: {
    50: '#55776e',
    500: '#0c4338',
    950: '#000000',
  },
}
SCSS
$custom: #0c4338;
$custom-light: #55776e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4338",
  "rgb": {
    "r": 12,
    "g": 67,
    "b": 56
  },
  "hsl": {
    "h": 168,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34508,
    "c": 0.05847,
    "h": 175.9
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#0C4338
secondary
#7F2C3C
accent
#3B5FEC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C4338

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

Preview Lab → · Contrast checker → · Palette generator →

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