#0C403C#0C403C

#0C403C is a dark, muted teal. Relative luminance 0.041; OKLCH L 33.8% C 0.053 H 187.4°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#0C403C
RGBrgb(12, 64, 60)
HSLhsl(175, 68%, 15%)
HSVhsv(175, 81%, 25%)
CMYKcmyk(81.2%, 0%, 6.2%, 74.9%)
CIE-LABlab(23.90, -17.58, -2.40)
CIE-LCHlch(23.90, 17.74, 187.77°)
OKLaboklab(33.75% -0.0525 -0.0068)
OKLCHoklch(33.75% 0.053 187.4)
XYZxyz(2.8002, 4.0709, 4.9123)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C403C #400C10
analogous
#0C4022 #0C403C #0C2A40
triadic
#0C403C #3C0C40 #403C0C
tetradic
#0C403C #220C40 #400C10 #2A400C
square
#0C403C #220C40 #400C10 #2A400C
split-complementary
#0C403C #400C2A #40220C
monochromatic
#051A18 #051A18 #0C403C #16746C #1FA79D

Accessibility & contrast

On white

11.58
#0C403C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C403C
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C403C#FFFFFF#000000##FFFFFF
##0C403C1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3C3C
Deuteranopia (green-blind)
#35373D
Tritanopia (blue-blind)
#00423F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c403c;
/* rgb */ color: rgb(12, 64, 60);
/* oklch */ color: oklch(33.8% 0.053 187.4);
Tailwind
colors: {
  custom: {
    50: '#557571',
    500: '#0c403c',
    950: '#000000',
  },
}
SCSS
$custom: #0c403c;
$custom-light: #557571;
$custom-dark: #000000;
JSON
{
  "hex": "#0c403c",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 60
  },
  "hsl": {
    "h": 175.385,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33753,
    "c": 0.05291,
    "h": 187.4
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#0C403C
secondary
#7C2C32
accent
#3D4AEB
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030807
muted
#787B7A

Preview Lab

Preview with #0C403C

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

Preview Lab → · Contrast checker → · Palette generator →

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