#0C4D5A#0C4D5A

#0C4D5A is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 38.9% C 0.064 H 215.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#0C4D5A
RGBrgb(12, 77, 90)
HSLhsl(190, 76%, 20%)
HSVhsv(190, 87%, 35%)
CMYKcmyk(86.7%, 14.4%, 0%, 64.7%)
CIE-LABlab(29.72, -14.21, -13.20)
CIE-LCHlch(29.72, 19.39, 222.89°)
OKLaboklab(38.85% -0.0523 -0.0369)
OKLCHoklch(38.85% 0.064 215.2)
XYZxyz(4.6502, 6.1235, 10.6077)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D5A #5A190C
analogous
#0C5A40 #0C4D5A #0C265A
triadic
#0C4D5A #5A0C4D #4D5A0C
tetradic
#0C4D5A #400C5A #5A190C #265A0C
square
#0C4D5A #400C5A #5A190C #265A0C
split-complementary
#0C4D5A #5A0C26 #5A400C
monochromatic
#04171B #051F24 #0C4D5A #137B90 #1AA9C6

Accessibility & contrast

On white

9.44
#0C4D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#0C4D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D5A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D5A#FFFFFF#000000##FFFFFF
##0C4D5A1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A5B
Deuteranopia (green-blind)
#3A435A
Tritanopia (blue-blind)
#005251
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c4d5a;
/* rgb */ color: rgb(12, 77, 90);
/* oklch */ color: oklch(38.9% 0.064 215.2);
Tailwind
colors: {
  custom: {
    50: '#5b7f88',
    500: '#0c4d5a',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d5a;
$custom-light: #5b7f88;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d5a",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 90
  },
  "hsl": {
    "h": 190,
    "s": 76.471,
    "l": 20
  },
  "oklch": {
    "l": 0.3885,
    "c": 0.06402,
    "h": 215.2
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#0C4D5A
secondary
#953E2D
accent
#5435F3
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #0C4D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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