#0C382F#0C382F

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

Color values

HEX#0C382F
RGBrgb(12, 56, 47)
HSLhsl(168, 65%, 13%)
HSVhsv(168, 79%, 22%)
CMYKcmyk(78.6%, 0%, 16.1%, 78%)
CIE-LABlab(20.48, -17.44, 1.32)
CIE-LCHlch(20.48, 17.49, 175.69°)
OKLaboklab(30.82% -0.0498 0.0032)
OKLCHoklch(30.82% 0.05 176.3)
XYZxyz(2.0786, 3.1115, 3.1798)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C382F #380C15
analogous
#0C3819 #0C382F #0C2B38
triadic
#0C382F #2F0C38 #382F0C
tetradic
#0C382F #190C38 #380C15 #2B380C
square
#0C382F #190C38 #380C15 #2B380C
split-complementary
#0C382F #380C2B #38190C
monochromatic
#051915 #051915 #0C382F #176A59 #229D84

Accessibility & contrast

On white

12.94
#0C382F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C382F
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C382F#FFFFFF#000000##FFFFFF
##0C382F1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342F
Deuteranopia (green-blind)
#2F2F30
Tritanopia (blue-blind)
#003935
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c382f;
/* rgb */ color: rgb(12, 56, 47);
/* oklch */ color: oklch(30.8% 0.050 176.3);
Tailwind
colors: {
  custom: {
    50: '#526f67',
    500: '#0c382f',
    950: '#000000',
  },
}
SCSS
$custom: #0c382f;
$custom-light: #526f67;
$custom-dark: #000000;
JSON
{
  "hex": "#0c382f",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 47
  },
  "hsl": {
    "h": 167.727,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30824,
    "c": 0.0499,
    "h": 176.3
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#0C382F
secondary
#742C3B
accent
#4062E8
background
#F4F6F6
surface
#E7ECEB
border
#C3C7C6
text
#020706
muted
#787A7A

Preview Lab

Preview with #0C382F

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

Preview Lab → · Contrast checker → · Palette generator →

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