#0C3F40#0C3F40

#0C3F40 is a dark, muted teal. Relative luminance 0.040; OKLCH L 33.6% C 0.051 H 197.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#0C3F40
RGBrgb(12, 63, 64)
HSLhsl(181, 68%, 15%)
HSVhsv(181, 81%, 25%)
CMYKcmyk(81.2%, 1.6%, 0%, 74.9%)
CIE-LABlab(23.68, -15.63, -5.39)
CIE-LCHlch(23.68, 16.53, 199.02°)
OKLaboklab(33.62% -0.0491 -0.015)
OKLCHoklch(33.62% 0.051 197)
XYZxyz(2.8541, 4.0030, 5.4717)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F40 #400D0C
analogous
#0C4027 #0C3F40 #0C2540
triadic
#0C3F40 #400C3F #3F400C
tetradic
#0C3F40 #270C40 #400D0C #25400C
square
#0C3F40 #270C40 #400D0C #25400C
split-complementary
#0C3F40 #400C25 #40270C
monochromatic
#05191A #05191A #0C3F40 #167274 #1FA4A7

Accessibility & contrast

On white

11.66
#0C3F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0C3F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3F40
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F40#FFFFFF#000000##FFFFFF
##0C3F401.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C40
Deuteranopia (green-blind)
#323640
Tritanopia (blue-blind)
#00413F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c3f40;
/* rgb */ color: rgb(12, 63, 64);
/* oklch */ color: oklch(33.6% 0.051 197.0);
Tailwind
colors: {
  custom: {
    50: '#557474',
    500: '#0c3f40',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f40;
$custom-light: #557474;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f40",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 64
  },
  "hsl": {
    "h": 181.154,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3362,
    "c": 0.05134,
    "h": 197
  },
  "luminance": 0.04003
}

Semantic roles & 50–950 ramp

primary
#0C3F40
secondary
#7C2D2C
accent
#403DEB
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030808
muted
#787B7B

Preview Lab

Preview with #0C3F40

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

Preview Lab → · Contrast checker → · Palette generator →

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