#0C525F#0C525F

#0C525F is a dark, moderate teal. Relative luminance 0.069; OKLCH L 40.5% C 0.067 H 214.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#0C525F
RGBrgb(12, 82, 95)
HSLhsl(189, 78%, 21%)
HSVhsv(189, 87%, 37%)
CMYKcmyk(87.4%, 13.7%, 0%, 62.7%)
CIE-LABlab(31.67, -15.24, -13.41)
CIE-LCHlch(31.67, 20.29, 221.34°)
OKLaboklab(40.49% -0.0554 -0.0374)
OKLCHoklch(40.49% 0.067 214)
XYZxyz(5.2336, 6.9383, 11.8876)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C525F #5F190C
analogous
#0C5F42 #0C525F #0C285F
triadic
#0C525F #5F0C52 #525F0C
tetradic
#0C525F #420C5F #5F190C #285F0C
square
#0C525F #420C5F #5F190C #285F0C
split-complementary
#0C525F #5F0C28 #5F420C
monochromatic
#03171B #052329 #0C525F #138195 #1AB0CC

Accessibility & contrast

On white

8.79
#0C525F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#0C525F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C525F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C525F#FFFFFF#000000##FFFFFF
##0C525F1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494F60
Deuteranopia (green-blind)
#3E475F
Tritanopia (blue-blind)
#005756
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c525f;
/* rgb */ color: rgb(12, 82, 95);
/* oklch */ color: oklch(40.5% 0.067 214.0);
Tailwind
colors: {
  custom: {
    50: '#5d828c',
    500: '#0c525f',
    950: '#000000',
  },
}
SCSS
$custom: #0c525f;
$custom-light: #5d828c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c525f",
  "rgb": {
    "r": 12,
    "g": 82,
    "b": 95
  },
  "hsl": {
    "h": 189.398,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.06691,
    "h": 214
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#0C525F
secondary
#993E2D
accent
#5234F4
background
#F5F8F8
surface
#EAEFF0
border
#C6CACB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #0C525F

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

Preview Lab → · Contrast checker → · Palette generator →

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