#0C403E#0C403E

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

Color values

HEX#0C403E
RGBrgb(12, 64, 62)
HSLhsl(178, 68%, 15%)
HSVhsv(178, 81%, 25%)
CMYKcmyk(81.2%, 0%, 3.1%, 74.9%)
CIE-LABlab(23.97, -16.89, -3.62)
CIE-LCHlch(23.97, 17.28, 192.10°)
OKLaboklab(33.83% -0.0514 -0.0101)
OKLCHoklch(33.83% 0.052 191.1)
XYZxyz(2.8541, 4.0924, 5.1960)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C403E #400C0E
analogous
#0C4024 #0C403E #0C2840
triadic
#0C403E #3E0C40 #403E0C
tetradic
#0C403E #240C40 #400C0E #28400C
square
#0C403E #240C40 #400C0E #28400C
split-complementary
#0C403E #400C28 #40240C
monochromatic
#051A19 #051A19 #0C403E #167470 #1FA7A2

Accessibility & contrast

On white

11.55
#0C403E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C403E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C403E#FFFFFF#000000##FFFFFF
##0C403E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c403e;
/* rgb */ color: rgb(12, 64, 62);
/* oklch */ color: oklch(33.8% 0.052 191.1);
Tailwind
colors: {
  custom: {
    50: '#557573',
    500: '#0c403e',
    950: '#000000',
  },
}
SCSS
$custom: #0c403e;
$custom-light: #557573;
$custom-dark: #000000;
JSON
{
  "hex": "#0c403e",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 62
  },
  "hsl": {
    "h": 177.692,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33834,
    "c": 0.05237,
    "h": 191.1
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#0C403E
secondary
#7C2C2F
accent
#3D43EB
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030808
muted
#787B7B

Preview Lab

Preview with #0C403E

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

Preview Lab → · Contrast checker → · Palette generator →

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