#0C393E#0C393E

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

Color values

HEX#0C393E
RGBrgb(12, 57, 62)
HSLhsl(186, 68%, 15%)
HSVhsv(186, 81%, 24%)
CMYKcmyk(80.6%, 8.1%, 0%, 75.7%)
CIE-LABlab(21.40, -12.84, -7.48)
CIE-LCHlch(21.40, 14.86, 210.23°)
OKLaboklab(31.75% -0.0429 -0.0208)
OKLCHoklch(31.75% 0.048 205.9)
XYZxyz(2.4839, 3.3519, 5.0726)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C393E #3E110C
analogous
#0C3E2A #0C393E #0C203E
triadic
#0C393E #3E0C39 #393E0C
tetradic
#0C393E #2A0C3E #3E110C #203E0C
square
#0C393E #2A0C3E #3E110C #203E0C
split-complementary
#0C393E #3E0C20 #3E2A0C
monochromatic
#05181A #05181A #0C393E #166871 #2097A5

Accessibility & contrast

On white

12.57
#0C393E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C393E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C393E#FFFFFF#000000##FFFFFF
##0C393E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34363E
Deuteranopia (green-blind)
#2C313E
Tritanopia (blue-blind)
#003C3A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c393e;
/* rgb */ color: rgb(12, 57, 62);
/* oklch */ color: oklch(31.7% 0.048 205.9);
Tailwind
colors: {
  custom: {
    50: '#546f73',
    500: '#0c393e',
    950: '#000000',
  },
}
SCSS
$custom: #0c393e;
$custom-light: #546f73;
$custom-dark: #000000;
JSON
{
  "hex": "#0c393e",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 62
  },
  "hsl": {
    "h": 186,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.31748,
    "c": 0.04763,
    "h": 205.9
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#0C393E
secondary
#7A342C
accent
#4F3DEA
background
#F5F6F6
surface
#E9ECEC
border
#C5C7C7
text
#030708
muted
#787A7B

Preview Lab

Preview with #0C393E

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

Preview Lab → · Contrast checker → · Palette generator →

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