#0C535F#0C535F

#0C535F is a dark, moderate teal. Relative luminance 0.071; OKLCH L 40.8% C 0.067 H 212.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#0C535F
RGBrgb(12, 83, 95)
HSLhsl(189, 78%, 21%)
HSVhsv(189, 87%, 37%)
CMYKcmyk(87.4%, 12.6%, 0%, 62.7%)
CIE-LABlab(32.01, -15.81, -12.88)
CIE-LCHlch(32.01, 20.39, 219.17°)
OKLaboklab(40.77% -0.0565 -0.0359)
OKLCHoklch(40.77% 0.067 212.4)
XYZxyz(5.3095, 7.0902, 11.9130)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C535F #5F180C
analogous
#0C5F41 #0C535F #0C295F
triadic
#0C535F #5F0C53 #535F0C
tetradic
#0C535F #410C5F #5F180C #295F0C
square
#0C535F #410C5F #5F180C #295F0C
split-complementary
#0C535F #5F0C29 #5F410C
monochromatic
#03181B #052429 #0C535F #138295 #1AB2CC

Accessibility & contrast

On white

8.68
#0C535F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#0C535F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C535F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C535F#FFFFFF#000000##FFFFFF
##0C535F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5060
Deuteranopia (green-blind)
#3F485F
Tritanopia (blue-blind)
#005857
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0c535f;
/* rgb */ color: rgb(12, 83, 95);
/* oklch */ color: oklch(40.8% 0.067 212.4);
Tailwind
colors: {
  custom: {
    50: '#5d838c',
    500: '#0c535f',
    950: '#000000',
  },
}
SCSS
$custom: #0c535f;
$custom-light: #5d838c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c535f",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 95
  },
  "hsl": {
    "h": 188.675,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40766,
    "c": 0.06699,
    "h": 212.4
  },
  "luminance": 0.07091
}

Semantic roles & 50–950 ramp

primary
#0C535F
secondary
#993D2D
accent
#5034F4
background
#F5F8F8
surface
#EAEFF0
border
#C6CACB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #0C535F

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

Preview Lab → · Contrast checker → · Palette generator →

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