#0C4B3D#0C4B3D

#0C4B3D is a dark, moderate teal. Relative luminance 0.054; OKLCH L 37.1% C 0.065 H 173.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#0C4B3D
RGBrgb(12, 75, 61)
HSLhsl(167, 72%, 17%)
HSVhsv(167, 84%, 29%)
CMYKcmyk(84%, 0%, 18.7%, 70.6%)
CIE-LABlab(27.97, -23.03, 2.88)
CIE-LCHlch(27.97, 23.21, 172.88°)
OKLaboklab(37.08% -0.065 0.0073)
OKLCHoklch(37.08% 0.065 173.6)
XYZxyz(3.5096, 5.4468, 5.2803)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B3D #4B0C1A
analogous
#0C4B1E #0C4B3D #0C3A4B
triadic
#0C4B3D #3D0C4B #4B3D0C
tetradic
#0C4B3D #1E0C4B #4B0C1A #3A4B0C
square
#0C4B3D #1E0C4B #4B0C1A #3A4B0C
split-complementary
#0C4B3D #4B0C3A #4B1E0C
monochromatic
#041A15 #041A15 #0C4B3D #148068 #1DB593

Accessibility & contrast

On white

10.05
#0C4B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4B3D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B3D#FFFFFF#000000##FFFFFF
##0C4B3D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48453C
Deuteranopia (green-blind)
#40403E
Tritanopia (blue-blind)
#004C47
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4b3d;
/* rgb */ color: rgb(12, 75, 61);
/* oklch */ color: oklch(37.1% 0.065 173.6);
Tailwind
colors: {
  custom: {
    50: '#577e72',
    500: '#0c4b3d',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b3d;
$custom-light: #577e72;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b3d",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 61
  },
  "hsl": {
    "h": 166.667,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37084,
    "c": 0.06541,
    "h": 173.6
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#0C4B3D
secondary
#872C40
accent
#3961EF
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A08
muted
#797C7B

Preview Lab

Preview with #0C4B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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