#0C4F5F#0C4F5F

#0C4F5F is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 39.7% C 0.067 H 218.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#0C4F5F
RGBrgb(12, 79, 95)
HSLhsl(192, 78%, 21%)
HSVhsv(192, 87%, 37%)
CMYKcmyk(87.4%, 16.8%, 0%, 62.7%)
CIE-LABlab(30.63, -13.49, -14.99)
CIE-LCHlch(30.63, 20.17, 228.02°)
OKLaboklab(39.65% -0.0522 -0.042)
OKLCHoklch(39.65% 0.067 218.8)
XYZxyz(5.0123, 6.4957, 11.8139)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F5F #5F1C0C
analogous
#0C5F45 #0C4F5F #0C255F
triadic
#0C4F5F #5F0C4F #4F5F0C
tetradic
#0C4F5F #450C5F #5F1C0C #255F0C
square
#0C4F5F #450C5F #5F1C0C #255F0C
split-complementary
#0C4F5F #5F0C25 #5F450C
monochromatic
#03171B #052229 #0C4F5F #137C95 #1AA9CC

Accessibility & contrast

On white

9.13
#0C4F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#0C4F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F5F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F5F#FFFFFF#000000##FFFFFF
##0C4F5F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#3A455F
Tritanopia (blue-blind)
#005454
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c4f5f;
/* rgb */ color: rgb(12, 79, 95);
/* oklch */ color: oklch(39.7% 0.067 218.8);
Tailwind
colors: {
  custom: {
    50: '#5c808c',
    500: '#0c4f5f',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f5f;
$custom-light: #5c808c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f5f",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 95
  },
  "hsl": {
    "h": 191.566,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39652,
    "c": 0.067,
    "h": 218.8
  },
  "luminance": 0.06496
}

Semantic roles & 50–950 ramp

primary
#0C4F5F
secondary
#99422D
accent
#5934F4
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #0C4F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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