#0C403D#0C403D

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

Color values

HEX#0C403D
RGBrgb(12, 64, 61)
HSLhsl(177, 68%, 15%)
HSVhsv(177, 81%, 25%)
CMYKcmyk(81.2%, 0%, 4.7%, 74.9%)
CIE-LABlab(23.94, -17.24, -3.01)
CIE-LCHlch(23.94, 17.50, 189.91°)
OKLaboklab(33.79% -0.0519 -0.0084)
OKLCHoklch(33.79% 0.053 189.2)
XYZxyz(2.8269, 4.0815, 5.0528)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C403D #400C0F
analogous
#0C4023 #0C403D #0C2940
triadic
#0C403D #3D0C40 #403D0C
tetradic
#0C403D #230C40 #400C0F #29400C
square
#0C403D #230C40 #400C0F #29400C
split-complementary
#0C403D #400C29 #40230C
monochromatic
#051A19 #051A19 #0C403D #16746E #1FA79F

Accessibility & contrast

On white

11.56
#0C403D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#0C403D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C403D
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C403D#FFFFFF#000000##FFFFFF
##0C403D1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c403d;
/* rgb */ color: rgb(12, 64, 61);
/* oklch */ color: oklch(33.8% 0.053 189.2);
Tailwind
colors: {
  custom: {
    50: '#557572',
    500: '#0c403d',
    950: '#000000',
  },
}
SCSS
$custom: #0c403d;
$custom-light: #557572;
$custom-dark: #000000;
JSON
{
  "hex": "#0c403d",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 61
  },
  "hsl": {
    "h": 176.538,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33793,
    "c": 0.0526,
    "h": 189.2
  },
  "luminance": 0.04082
}

Semantic roles & 50–950 ramp

primary
#0C403D
secondary
#7C2C30
accent
#3D47EB
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030808
muted
#787B7B

Preview Lab

Preview with #0C403D

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

Preview Lab → · Contrast checker → · Palette generator →

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