#0C382D#0C382D

#0C382D is a dark, muted teal. Relative luminance 0.031; OKLCH L 30.8% C 0.051 H 172.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#0C382D
RGBrgb(12, 56, 45)
HSLhsl(165, 65%, 13%)
HSVhsv(165, 79%, 22%)
CMYKcmyk(78.6%, 0%, 19.6%, 78%)
CIE-LABlab(20.42, -18.06, 2.58)
CIE-LCHlch(20.42, 18.25, 171.87°)
OKLaboklab(30.75% -0.0509 0.0065)
OKLCHoklch(30.75% 0.051 172.7)
XYZxyz(2.0392, 3.0957, 2.9722)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C382D #380C17
analogous
#0C3817 #0C382D #0C2D38
triadic
#0C382D #2D0C38 #382D0C
tetradic
#0C382D #170C38 #380C17 #2D380C
square
#0C382D #170C38 #380C17 #2D380C
split-complementary
#0C382D #380C2D #38170C
monochromatic
#051914 #051914 #0C382D #176A55 #229D7E

Accessibility & contrast

On white

12.97
#0C382D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0C382D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C382D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C382D#FFFFFF#000000##FFFFFF
##0C382D1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342C
Deuteranopia (green-blind)
#302F2E
Tritanopia (blue-blind)
#003935
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c382d;
/* rgb */ color: rgb(12, 56, 45);
/* oklch */ color: oklch(30.8% 0.051 172.7);
Tailwind
colors: {
  custom: {
    50: '#526f65',
    500: '#0c382d',
    950: '#000000',
  },
}
SCSS
$custom: #0c382d;
$custom-light: #526f65;
$custom-dark: #000000;
JSON
{
  "hex": "#0c382d",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 45
  },
  "hsl": {
    "h": 165,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30753,
    "c": 0.05137,
    "h": 172.7
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#0C382D
secondary
#742C3E
accent
#406AE8
background
#F4F6F6
surface
#E7ECEB
border
#C3C7C6
text
#020705
muted
#787A7A

Preview Lab

Preview with #0C382D

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

Preview Lab → · Contrast checker → · Palette generator →

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