#0C393B#0C393B

#0C393B is a dark, muted teal. Relative luminance 0.033; OKLCH L 31.6% C 0.047 H 199.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#0C393B
RGBrgb(12, 57, 59)
HSLhsl(183, 66%, 14%)
HSVhsv(183, 80%, 23%)
CMYKcmyk(79.7%, 3.4%, 0%, 76.9%)
CIE-LABlab(21.28, -13.93, -5.63)
CIE-LCHlch(21.28, 15.03, 202.01°)
OKLaboklab(31.61% -0.0444 -0.0156)
OKLCHoklch(31.61% 0.047 199.4)
XYZxyz(2.4038, 3.3199, 4.6509)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C393B #3B0E0C
analogous
#0C3B26 #0C393B #0C223B
triadic
#0C393B #3B0C39 #393B0C
tetradic
#0C393B #260C3B #3B0E0C #223B0C
square
#0C393B #260C3B #3B0E0C #223B0C
split-complementary
#0C393B #3B0C22 #3B260C
monochromatic
#051919 #051919 #0C393B #166A6E #219BA1

Accessibility & contrast

On white

12.62
#0C393B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0C393B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C393B
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C393B#FFFFFF#000000##FFFFFF
##0C393B1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34363B
Deuteranopia (green-blind)
#2D313B
Tritanopia (blue-blind)
#003B39
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c393b;
/* rgb */ color: rgb(12, 57, 59);
/* oklch */ color: oklch(31.6% 0.047 199.4);
Tailwind
colors: {
  custom: {
    50: '#546f70',
    500: '#0c393b',
    950: '#000000',
  },
}
SCSS
$custom: #0c393b;
$custom-light: #546f70;
$custom-dark: #000000;
JSON
{
  "hex": "#0c393b",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 59
  },
  "hsl": {
    "h": 182.553,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31612,
    "c": 0.04709,
    "h": 199.4
  },
  "luminance": 0.0332
}

Semantic roles & 50–950 ramp

primary
#0C393B
secondary
#772F2C
accent
#463FE9
background
#F5F6F6
surface
#E9ECEC
border
#C5C7C7
text
#030707
muted
#787A7A

Preview Lab

Preview with #0C393B

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

Preview Lab → · Contrast checker → · Palette generator →

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