#0C403F#0C403F

#0C403F is a dark, muted teal. Relative luminance 0.041; OKLCH L 33.9% C 0.052 H 193.1°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#0C403F
RGBrgb(12, 64, 63)
HSLhsl(179, 68%, 15%)
HSVhsv(179, 81%, 25%)
CMYKcmyk(81.2%, 0%, 1.6%, 74.9%)
CIE-LABlab(24.01, -16.55, -4.23)
CIE-LCHlch(24.01, 17.08, 194.35°)
OKLaboklab(33.88% -0.0508 -0.0118)
OKLCHoklch(33.88% 0.052 193.1)
XYZxyz(2.8818, 4.1035, 5.3418)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C403F #400C0D
analogous
#0C4025 #0C403F #0C2740
triadic
#0C403F #3F0C40 #403F0C
tetradic
#0C403F #250C40 #400C0D #27400C
square
#0C403F #250C40 #400C0D #27400C
split-complementary
#0C403F #400C27 #40250C
monochromatic
#051A19 #051A19 #0C403F #167472 #1FA7A4

Accessibility & contrast

On white

11.53
#0C403F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C403F
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C403F#FFFFFF#000000##FFFFFF
##0C403F1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C3F
Deuteranopia (green-blind)
#34373F
Tritanopia (blue-blind)
#004240
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c403f;
/* rgb */ color: rgb(12, 64, 63);
/* oklch */ color: oklch(33.9% 0.052 193.1);
Tailwind
colors: {
  custom: {
    50: '#557574',
    500: '#0c403f',
    950: '#000000',
  },
}
SCSS
$custom: #0c403f;
$custom-light: #557574;
$custom-dark: #000000;
JSON
{
  "hex": "#0c403f",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 63
  },
  "hsl": {
    "h": 178.846,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33875,
    "c": 0.0522,
    "h": 193.1
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#0C403F
secondary
#7C2C2D
accent
#3D40EB
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030808
muted
#787B7B

Preview Lab

Preview with #0C403F

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

Preview Lab → · Contrast checker → · Palette generator →

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