#0C4B52#0C4B52

#0C4B52 is a dark, moderate teal. Relative luminance 0.057; OKLCH L 37.9% C 0.060 H 206.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#0C4B52
RGBrgb(12, 75, 82)
HSLhsl(186, 74%, 18%)
HSVhsv(186, 85%, 32%)
CMYKcmyk(85.4%, 8.5%, 0%, 67.8%)
CIE-LABlab(28.69, -16.01, -9.63)
CIE-LCHlch(28.69, 18.68, 211.01°)
OKLaboklab(37.91% -0.0539 -0.0268)
OKLCHoklch(37.91% 0.06 206.4)
XYZxyz(4.1900, 5.7190, 8.8641)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B52 #52130C
analogous
#0C5236 #0C4B52 #0C2852
triadic
#0C4B52 #520C4B #4B520C
tetradic
#0C4B52 #360C52 #52130C #28520C
square
#0C4B52 #360C52 #52130C #28520C
split-complementary
#0C4B52 #520C28 #52360C
monochromatic
#04181B #041A1D #0C4B52 #147C87 #1CADBD

Accessibility & contrast

On white

9.79
#0C4B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0C4B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B52
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B52#FFFFFF#000000##FFFFFF
##0C4B521.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444852
Deuteranopia (green-blind)
#3A4152
Tritanopia (blue-blind)
#004F4D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c4b52;
/* rgb */ color: rgb(12, 75, 82);
/* oklch */ color: oklch(37.9% 0.060 206.4);
Tailwind
colors: {
  custom: {
    50: '#5a7d82',
    500: '#0c4b52',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b52;
$custom-light: #5a7d82;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b52",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 82
  },
  "hsl": {
    "h": 186,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37909,
    "c": 0.0602,
    "h": 206.4
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#0C4B52
secondary
#8D362C
accent
#4937F1
background
#F5F7F7
surface
#E9EEEE
border
#C5C9C9
text
#04090A
muted
#797B7C

Preview Lab

Preview with #0C4B52

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

Preview Lab → · Contrast checker → · Palette generator →

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