#0C382E#0C382E

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

Color values

HEX#0C382E
RGBrgb(12, 56, 46)
HSLhsl(166, 65%, 13%)
HSVhsv(166, 79%, 22%)
CMYKcmyk(78.6%, 0%, 17.9%, 78%)
CIE-LABlab(20.45, -17.75, 1.95)
CIE-LCHlch(20.45, 17.86, 173.74°)
OKLaboklab(30.79% -0.0504 0.0049)
OKLCHoklch(30.79% 0.051 174.5)
XYZxyz(2.0587, 3.1035, 3.0748)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C382E #380C16
analogous
#0C3818 #0C382E #0C2C38
triadic
#0C382E #2E0C38 #382E0C
tetradic
#0C382E #180C38 #380C16 #2C380C
square
#0C382E #180C38 #380C16 #2C380C
split-complementary
#0C382E #380C2C #38180C
monochromatic
#051915 #051915 #0C382E #176A57 #229D81

Accessibility & contrast

On white

12.96
#0C382E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C382E
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C382E#FFFFFF#000000##FFFFFF
##0C382E1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c382e;
/* rgb */ color: rgb(12, 56, 46);
/* oklch */ color: oklch(30.8% 0.051 174.5);
Tailwind
colors: {
  custom: {
    50: '#526f66',
    500: '#0c382e',
    950: '#000000',
  },
}
SCSS
$custom: #0c382e;
$custom-light: #526f66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c382e",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 46
  },
  "hsl": {
    "h": 166.364,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30789,
    "c": 0.05061,
    "h": 174.5
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#0C382E
secondary
#742C3C
accent
#4066E8
background
#F4F6F6
surface
#E7ECEB
border
#C3C7C6
text
#020706
muted
#787A7A

Preview Lab

Preview with #0C382E

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

Preview Lab → · Contrast checker → · Palette generator →

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