#0C403B#0C403B

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

Color values

HEX#0C403B
RGBrgb(12, 64, 59)
HSLhsl(174, 68%, 15%)
HSVhsv(174, 81%, 25%)
CMYKcmyk(81.2%, 0%, 7.8%, 74.9%)
CIE-LABlab(23.87, -17.91, -1.78)
CIE-LCHlch(23.87, 18.00, 185.69°)
OKLaboklab(33.71% -0.053 -0.0051)
OKLCHoklch(33.71% 0.053 185.5)
XYZxyz(2.7741, 4.0604, 4.7744)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C403B #400C11
analogous
#0C4021 #0C403B #0C2B40
triadic
#0C403B #3B0C40 #403B0C
tetradic
#0C403B #210C40 #400C11 #2B400C
square
#0C403B #210C40 #400C11 #2B400C
split-complementary
#0C403B #400C2B #40210C
monochromatic
#051A18 #051A18 #0C403B #16746B #1FA79A

Accessibility & contrast

On white

11.59
#0C403B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C403B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C403B#FFFFFF#000000##FFFFFF
##0C403B1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3C3B
Deuteranopia (green-blind)
#35373C
Tritanopia (blue-blind)
#00423E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c403b;
/* rgb */ color: rgb(12, 64, 59);
/* oklch */ color: oklch(33.7% 0.053 185.5);
Tailwind
colors: {
  custom: {
    50: '#557570',
    500: '#0c403b',
    950: '#000000',
  },
}
SCSS
$custom: #0c403b;
$custom-light: #557570;
$custom-dark: #000000;
JSON
{
  "hex": "#0c403b",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 59
  },
  "hsl": {
    "h": 174.231,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33714,
    "c": 0.05326,
    "h": 185.5
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#0C403B
secondary
#7C2C33
accent
#3D4DEB
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030807
muted
#787B7A

Preview Lab

Preview with #0C403B

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

Preview Lab → · Contrast checker → · Palette generator →

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