#0C4B57#0C4B57

#0C4B57 is a dark, moderate teal. Relative luminance 0.058; OKLCH L 38.1% C 0.062 H 214.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#0C4B57
RGBrgb(12, 75, 87)
HSLhsl(190, 76%, 19%)
HSVhsv(190, 86%, 34%)
CMYKcmyk(86.2%, 13.8%, 0%, 65.9%)
CIE-LABlab(28.90, -14.16, -12.53)
CIE-LCHlch(28.90, 18.91, 221.51°)
OKLaboklab(38.14% -0.0515 -0.035)
OKLCHoklch(38.14% 0.062 214.2)
XYZxyz(4.3873, 5.7979, 9.9029)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B57 #57180C
analogous
#0C573E #0C4B57 #0C2657
triadic
#0C4B57 #570C4B #4B570C
tetradic
#0C4B57 #3E0C57 #57180C #26570C
square
#0C4B57 #3E0C57 #57180C #26570C
split-complementary
#0C4B57 #570C26 #573E0C
monochromatic
#04171B #051D21 #0C4B57 #13798D #1BA8C3

Accessibility & contrast

On white

9.72
#0C4B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#0C4B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B57
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B57#FFFFFF#000000##FFFFFF
##0C4B571.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424858
Deuteranopia (green-blind)
#384157
Tritanopia (blue-blind)
#00504F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c4b57;
/* rgb */ color: rgb(12, 75, 87);
/* oklch */ color: oklch(38.1% 0.062 214.2);
Tailwind
colors: {
  custom: {
    50: '#5a7d86',
    500: '#0c4b57',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b57;
$custom-light: #5a7d86;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b57",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 87
  },
  "hsl": {
    "h": 189.6,
    "s": 75.758,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38142,
    "c": 0.06229,
    "h": 214.2
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#0C4B57
secondary
#923D2D
accent
#5435F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#04090B
muted
#797B7C

Preview Lab

Preview with #0C4B57

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

Preview Lab → · Contrast checker → · Palette generator →

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