#0C393F#0C393F

#0C393F is a dark, muted teal. Relative luminance 0.034; OKLCH L 31.8% C 0.048 H 208.0°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#0C393F
RGBrgb(12, 57, 63)
HSLhsl(187, 68%, 15%)
HSVhsv(187, 81%, 25%)
CMYKcmyk(81%, 9.5%, 0%, 75.3%)
CIE-LABlab(21.44, -12.46, -8.09)
CIE-LCHlch(21.44, 14.86, 212.99°)
OKLaboklab(31.8% -0.0423 -0.0225)
OKLCHoklch(31.8% 0.048 208)
XYZxyz(2.5116, 3.3630, 5.2184)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C393F #3F120C
analogous
#0C3F2C #0C393F #0C203F
triadic
#0C393F #3F0C39 #393F0C
tetradic
#0C393F #2C0C3F #3F120C #203F0C
square
#0C393F #2C0C3F #3F120C #203F0C
split-complementary
#0C393F #3F0C20 #3F2C0C
monochromatic
#05171A #05171A #0C393F #166872 #2096A6

Accessibility & contrast

On white

12.56
#0C393F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#0C393F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C393F
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C393F#FFFFFF#000000##FFFFFF
##0C393F1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33363F
Deuteranopia (green-blind)
#2C313F
Tritanopia (blue-blind)
#003C3B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c393f;
/* rgb */ color: rgb(12, 57, 63);
/* oklch */ color: oklch(31.8% 0.048 208.0);
Tailwind
colors: {
  custom: {
    50: '#546f74',
    500: '#0c393f',
    950: '#000000',
  },
}
SCSS
$custom: #0c393f;
$custom-light: #546f74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c393f",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 63
  },
  "hsl": {
    "h": 187.059,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31795,
    "c": 0.04795,
    "h": 208
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#0C393F
secondary
#7B352C
accent
#513DEB
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#030708
muted
#787A7B

Preview Lab

Preview with #0C393F

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

Preview Lab → · Contrast checker → · Palette generator →

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