#0C4A56#0C4A56

#0C4A56 is a dark, moderate teal. Relative luminance 0.056; OKLCH L 37.8% C 0.062 H 214.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#0C4A56
RGBrgb(12, 74, 86)
HSLhsl(190, 76%, 19%)
HSVhsv(190, 86%, 34%)
CMYKcmyk(86%, 14%, 0%, 66.3%)
CIE-LABlab(28.50, -13.95, -12.49)
CIE-LCHlch(28.50, 18.73, 221.84°)
OKLaboklab(37.81% -0.0509 -0.0349)
OKLCHoklch(37.81% 0.062 214.4)
XYZxyz(4.2794, 5.6471, 9.6667)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A56 #56180C
analogous
#0C563D #0C4A56 #0C2556
triadic
#0C4A56 #560C4A #4A560C
tetradic
#0C4A56 #3D0C56 #56180C #25560C
square
#0C4A56 #3D0C56 #56180C #25560C
split-complementary
#0C4A56 #560C25 #563D0C
monochromatic
#04171B #051C20 #0C4A56 #13788C #1BA6C1

Accessibility & contrast

On white

9.86
#0C4A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#0C4A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A56
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A56#FFFFFF#000000##FFFFFF
##0C4A561.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414757
Deuteranopia (green-blind)
#384056
Tritanopia (blue-blind)
#004F4E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4a56;
/* rgb */ color: rgb(12, 74, 86);
/* oklch */ color: oklch(37.8% 0.062 214.4);
Tailwind
colors: {
  custom: {
    50: '#5a7c85',
    500: '#0c4a56',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a56;
$custom-light: #5a7c85;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a56",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 86
  },
  "hsl": {
    "h": 189.73,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37812,
    "c": 0.0617,
    "h": 214.4
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#0C4A56
secondary
#913D2D
accent
#5436F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#04090B
muted
#797B7C

Preview Lab

Preview with #0C4A56

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

Preview Lab → · Contrast checker → · Palette generator →

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