#0C4F5B#0C4F5B

#0C4F5B is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.5% C 0.065 H 213.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#0C4F5B
RGBrgb(12, 79, 91)
HSLhsl(189, 77%, 20%)
HSVhsv(189, 87%, 36%)
CMYKcmyk(86.8%, 13.2%, 0%, 64.3%)
CIE-LABlab(30.46, -14.99, -12.71)
CIE-LCHlch(30.46, 19.65, 220.28°)
OKLaboklab(39.46% -0.054 -0.0355)
OKLCHoklch(39.46% 0.065 213.3)
XYZxyz(4.8351, 6.4248, 10.8808)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F5B #5B180C
analogous
#0C5B3F #0C4F5B #0C275B
triadic
#0C4F5B #5B0C4F #4F5B0C
tetradic
#0C4F5B #3F0C5B #5B180C #275B0C
square
#0C4F5B #3F0C5B #5B180C #275B0C
split-complementary
#0C4F5B #5B0C27 #5B3F0C
monochromatic
#04171B #052025 #0C4F5B #137E91 #1AADC7

Accessibility & contrast

On white

9.19
#0C4F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0C4F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F5B
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F5B#FFFFFF#000000##FFFFFF
##0C4F5B1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#3C445B
Tritanopia (blue-blind)
#005453
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c4f5b;
/* rgb */ color: rgb(12, 79, 91);
/* oklch */ color: oklch(39.5% 0.065 213.3);
Tailwind
colors: {
  custom: {
    50: '#5c8089',
    500: '#0c4f5b',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f5b;
$custom-light: #5c8089;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f5b",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 91
  },
  "hsl": {
    "h": 189.114,
    "s": 76.699,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39459,
    "c": 0.06465,
    "h": 213.3
  },
  "luminance": 0.06425
}

Semantic roles & 50–950 ramp

primary
#0C4F5B
secondary
#963D2D
accent
#5235F3
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #0C4F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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