#0C392E#0C392E

#0C392E is a dark, muted teal. Relative luminance 0.032; OKLCH L 31.1% C 0.052 H 173.0°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#0C392E
RGBrgb(12, 57, 46)
HSLhsl(165, 65%, 14%)
HSVhsv(165, 79%, 22%)
CMYKcmyk(78.9%, 0%, 19.3%, 77.6%)
CIE-LABlab(20.83, -18.29, 2.49)
CIE-LCHlch(20.83, 18.46, 172.24°)
OKLaboklab(31.1% -0.0516 0.0063)
OKLCHoklch(31.1% 0.052 173)
XYZxyz(2.1076, 3.2014, 3.0911)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C392E #390C17
analogous
#0C3917 #0C392E #0C2D39
triadic
#0C392E #2E0C39 #392E0C
tetradic
#0C392E #170C39 #390C17 #2D390C
square
#0C392E #170C39 #390C17 #2D390C
split-complementary
#0C392E #390C2D #39170C
monochromatic
#051914 #051914 #0C392E #176C57 #219E80

Accessibility & contrast

On white

12.80
#0C392E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#0C392E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C392E
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C392E#FFFFFF#000000##FFFFFF
##0C392E1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352D
Deuteranopia (green-blind)
#31302F
Tritanopia (blue-blind)
#003A36
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0c392e;
/* rgb */ color: rgb(12, 57, 46);
/* oklch */ color: oklch(31.1% 0.052 173.0);
Tailwind
colors: {
  custom: {
    50: '#527066',
    500: '#0c392e',
    950: '#000000',
  },
}
SCSS
$custom: #0c392e;
$custom-light: #527066;
$custom-dark: #000000;
JSON
{
  "hex": "#0c392e",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 46
  },
  "hsl": {
    "h": 165.333,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31098,
    "c": 0.05203,
    "h": 173
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#0C392E
secondary
#752C3E
accent
#4069E8
background
#F4F6F6
surface
#E7ECEB
border
#C3C7C6
text
#020706
muted
#787A7A

Preview Lab

Preview with #0C392E

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

Preview Lab → · Contrast checker → · Palette generator →

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