#0C4A52#0C4A52

#0C4A52 is a dark, muted teal. Relative luminance 0.056; OKLCH L 37.6% C 0.060 H 208.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#0C4A52
RGBrgb(12, 74, 82)
HSLhsl(187, 74%, 18%)
HSVhsv(187, 85%, 32%)
CMYKcmyk(85.4%, 9.8%, 0%, 67.8%)
CIE-LABlab(28.34, -15.44, -10.16)
CIE-LCHlch(28.34, 18.48, 213.35°)
OKLaboklab(37.62% -0.0528 -0.0283)
OKLCHoklch(37.62% 0.06 208.2)
XYZxyz(4.1227, 5.5844, 8.8416)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A52 #52140C
analogous
#0C5237 #0C4A52 #0C2752
triadic
#0C4A52 #520C4A #4A520C
tetradic
#0C4A52 #370C52 #52140C #27520C
square
#0C4A52 #370C52 #52140C #27520C
split-complementary
#0C4A52 #520C27 #52370C
monochromatic
#04181B #041A1D #0C4A52 #147A87 #1CAABD

Accessibility & contrast

On white

9.92
#0C4A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#0C4A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A52
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A52#FFFFFF#000000##FFFFFF
##0C4A521.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434753
Deuteranopia (green-blind)
#394052
Tritanopia (blue-blind)
#004E4C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4a52;
/* rgb */ color: rgb(12, 74, 82);
/* oklch */ color: oklch(37.6% 0.060 208.2);
Tailwind
colors: {
  custom: {
    50: '#5a7c82',
    500: '#0c4a52',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a52;
$custom-light: #5a7c82;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a52",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 82
  },
  "hsl": {
    "h": 186.857,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37624,
    "c": 0.0599,
    "h": 208.2
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#0C4A52
secondary
#8D382C
accent
#4C37F1
background
#F5F7F7
surface
#E9EEEE
border
#C5C9C9
text
#04090A
muted
#797B7C

Preview Lab

Preview with #0C4A52

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

Preview Lab → · Contrast checker → · Palette generator →

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