#0C403A#0C403A

#0C403A is a dark, muted teal. Relative luminance 0.041; OKLCH L 33.7% C 0.054 H 183.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#0C403A
RGBrgb(12, 64, 58)
HSLhsl(173, 68%, 15%)
HSVhsv(173, 81%, 25%)
CMYKcmyk(81.2%, 0%, 9.4%, 74.9%)
CIE-LABlab(23.84, -18.24, -1.17)
CIE-LCHlch(23.84, 18.28, 183.67°)
OKLaboklab(33.67% -0.0536 -0.0034)
OKLCHoklch(33.67% 0.054 183.7)
XYZxyz(2.7484, 4.0501, 4.6391)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C403A #400C12
analogous
#0C4020 #0C403A #0C2C40
triadic
#0C403A #3A0C40 #403A0C
tetradic
#0C403A #200C40 #400C12 #2C400C
square
#0C403A #200C40 #400C12 #2C400C
split-complementary
#0C403A #400C2C #40200C
monochromatic
#051A17 #051A17 #0C403A #167469 #1FA797

Accessibility & contrast

On white

11.60
#0C403A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#0C403A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C403A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C403A#FFFFFF#000000##FFFFFF
##0C403A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3C3A
Deuteranopia (green-blind)
#35363B
Tritanopia (blue-blind)
#00423E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c403a;
/* rgb */ color: rgb(12, 64, 58);
/* oklch */ color: oklch(33.7% 0.054 183.7);
Tailwind
colors: {
  custom: {
    50: '#557570',
    500: '#0c403a',
    950: '#000000',
  },
}
SCSS
$custom: #0c403a;
$custom-light: #557570;
$custom-dark: #000000;
JSON
{
  "hex": "#0c403a",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 58
  },
  "hsl": {
    "h": 173.077,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33675,
    "c": 0.05367,
    "h": 183.7
  },
  "luminance": 0.0405
}

Semantic roles & 50–950 ramp

primary
#0C403A
secondary
#7C2C35
accent
#3D51EB
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030807
muted
#787B7A

Preview Lab

Preview with #0C403A

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

Preview Lab → · Contrast checker → · Palette generator →

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