#0C4B3F#0C4B3F

#0C4B3F is a dark, moderate teal. Relative luminance 0.055; OKLCH L 37.2% C 0.064 H 176.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#0C4B3F
RGBrgb(12, 75, 63)
HSLhsl(169, 72%, 17%)
HSVhsv(169, 84%, 29%)
CMYKcmyk(84%, 0%, 16%, 70.6%)
CIE-LABlab(28.03, -22.43, 1.67)
CIE-LCHlch(28.03, 22.49, 175.73°)
OKLaboklab(37.15% -0.0639 0.0041)
OKLCHoklch(37.15% 0.064 176.3)
XYZxyz(3.5644, 5.4688, 5.5694)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B3F #4B0C18
analogous
#0C4B1F #0C4B3F #0C384B
triadic
#0C4B3F #3F0C4B #4B3F0C
tetradic
#0C4B3F #1F0C4B #4B0C18 #384B0C
square
#0C4B3F #1F0C4B #4B0C18 #384B0C
split-complementary
#0C4B3F #4B0C38 #4B1F0C
monochromatic
#041A16 #041A16 #0C4B3F #14806B #1DB598

Accessibility & contrast

On white

10.03
#0C4B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0C4B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B3F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B3F#FFFFFF#000000##FFFFFF
##0C4B3F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48463E
Deuteranopia (green-blind)
#404040
Tritanopia (blue-blind)
#004C47
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4b3f;
/* rgb */ color: rgb(12, 75, 63);
/* oklch */ color: oklch(37.2% 0.064 176.3);
Tailwind
colors: {
  custom: {
    50: '#577e74',
    500: '#0c4b3f',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b3f;
$custom-light: #577e74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b3f",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 63
  },
  "hsl": {
    "h": 168.571,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37152,
    "c": 0.06403,
    "h": 176.3
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#0C4B3F
secondary
#872C3D
accent
#395BEF
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #0C4B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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