#0C382A#0C382A

#0C382A is a dark, muted teal. Relative luminance 0.031; OKLCH L 30.7% C 0.054 H 167.7°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#0C382A
RGBrgb(12, 56, 42)
HSLhsl(161, 65%, 13%)
HSVhsv(161, 79%, 22%)
CMYKcmyk(78.6%, 0%, 25%, 78%)
CIE-LABlab(20.34, -18.96, 4.48)
CIE-LCHlch(20.34, 19.48, 166.71°)
OKLaboklab(30.65% -0.0527 0.0115)
OKLCHoklch(30.65% 0.054 167.7)
XYZxyz(1.9835, 3.0735, 2.6787)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C382A #380C1A
analogous
#0C3814 #0C382A #0C3038
triadic
#0C382A #2A0C38 #382A0C
tetradic
#0C382A #140C38 #380C1A #30380C
square
#0C382A #140C38 #380C1A #30380C
split-complementary
#0C382A #380C30 #38140C
monochromatic
#051913 #051913 #0C382A #176A50 #229D76

Accessibility & contrast

On white

13.00
#0C382A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0C382A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C382A
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C382A#FFFFFF#000000##FFFFFF
##0C382A1.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363429
Deuteranopia (green-blind)
#302F2B
Tritanopia (blue-blind)
#003834
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c382a;
/* rgb */ color: rgb(12, 56, 42);
/* oklch */ color: oklch(30.7% 0.054 167.7);
Tailwind
colors: {
  custom: {
    50: '#526f63',
    500: '#0c382a',
    950: '#000000',
  },
}
SCSS
$custom: #0c382a;
$custom-light: #526f63;
$custom-dark: #000000;
JSON
{
  "hex": "#0c382a",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 42
  },
  "hsl": {
    "h": 160.909,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30653,
    "c": 0.05393,
    "h": 167.7
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#0C382A
secondary
#742C43
accent
#4075E8
background
#F4F6F5
surface
#E7ECEA
border
#C3C7C6
text
#020705
muted
#787A79

Preview Lab

Preview with #0C382A

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

Preview Lab → · Contrast checker → · Palette generator →

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