#0C412E#0C412E

#0C412E is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.6% C 0.064 H 164.3°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#0C412E
RGBrgb(12, 65, 46)
HSLhsl(158, 69%, 15%)
HSVhsv(158, 82%, 25%)
CMYKcmyk(81.5%, 0%, 29.2%, 74.5%)
CIE-LABlab(23.85, -22.40, 6.78)
CIE-LCHlch(23.85, 23.41, 163.16°)
OKLaboklab(33.57% -0.0616 0.0173)
OKLCHoklch(33.57% 0.064 164.3)
XYZxyz(2.5348, 4.0557, 3.2335)
Luminance0.0406 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C412E #410C1F
analogous
#0C4114 #0C412E #0C3941
triadic
#0C412E #2E0C41 #412E0C
tetradic
#0C412E #140C41 #410C1F #39410C
square
#0C412E #140C41 #410C1F #39410C
split-complementary
#0C412E #410C39 #41140C
monochromatic
#051A12 #051A12 #0C412E #167553 #1FA877

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C412E#FFFFFF#000000##FFFFFF
##0C412E1.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)
#403C2D
Deuteranopia (green-blind)
#39372F
Tritanopia (blue-blind)
#00413C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c412e;
/* rgb */ color: rgb(12, 65, 46);
/* oklch */ color: oklch(33.6% 0.064 164.3);
Tailwind
colors: {
  custom: {
    50: '#547666',
    500: '#0c412e',
    950: '#000000',
  },
}
SCSS
$custom: #0c412e;
$custom-light: #547666;
$custom-dark: #000000;
JSON
{
  "hex": "#0c412e",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 46
  },
  "hsl": {
    "h": 158.491,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33573,
    "c": 0.06398,
    "h": 164.3
  },
  "luminance": 0.04056
}

Semantic roles & 50–950 ramp

primary
#0C412E
secondary
#7D2C49
accent
#3C7BEC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0C412E

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

Preview Lab → · Contrast checker → · Palette generator →

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