#0C4C5F#0C4C5F

#0C4C5F is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 38.8% C 0.068 H 223.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#0C4C5F
RGBrgb(12, 76, 95)
HSLhsl(194, 78%, 21%)
HSVhsv(194, 87%, 37%)
CMYKcmyk(87.4%, 20%, 0%, 62.7%)
CIE-LABlab(29.60, -11.71, -16.59)
CIE-LCHlch(29.60, 20.30, 234.79°)
OKLaboklab(38.82% -0.049 -0.0465)
OKLCHoklch(38.82% 0.068 223.5)
XYZxyz(4.8008, 6.0727, 11.7434)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4C5F #5F1F0C
analogous
#0C5F48 #0C4C5F #0C225F
triadic
#0C4C5F #5F0C4C #4C5F0C
tetradic
#0C4C5F #480C5F #5F1F0C #225F0C
square
#0C4C5F #480C5F #5F1F0C #225F0C
split-complementary
#0C4C5F #5F0C22 #5F480C
monochromatic
#03161B #052129 #0C4C5F #137795 #1AA3CC

Accessibility & contrast

On white

9.48
#0C4C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0C4C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4C5F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4C5F#FFFFFF#000000##FFFFFF
##0C4C5F1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A60
Deuteranopia (green-blind)
#36425F
Tritanopia (blue-blind)
#005252
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c4c5f;
/* rgb */ color: rgb(12, 76, 95);
/* oklch */ color: oklch(38.8% 0.068 223.5);
Tailwind
colors: {
  custom: {
    50: '#5c7e8c',
    500: '#0c4c5f',
    950: '#000000',
  },
}
SCSS
$custom: #0c4c5f;
$custom-light: #5c7e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4c5f",
  "rgb": {
    "r": 12,
    "g": 76,
    "b": 95
  },
  "hsl": {
    "h": 193.735,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3882,
    "c": 0.06759,
    "h": 223.5
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#0C4C5F
secondary
#99462D
accent
#6034F4
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #0C4C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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