#0C505F#0C505F

#0C505F is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 39.9% C 0.067 H 217.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#0C505F
RGBrgb(12, 80, 95)
HSLhsl(191, 78%, 21%)
HSVhsv(191, 87%, 37%)
CMYKcmyk(87.4%, 15.8%, 0%, 62.7%)
CIE-LABlab(30.98, -14.08, -14.46)
CIE-LCHlch(30.98, 20.18, 225.78°)
OKLaboklab(39.93% -0.0533 -0.0404)
OKLCHoklch(39.93% 0.067 217.2)
XYZxyz(5.0850, 6.6411, 11.8381)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C505F #5F1B0C
analogous
#0C5F44 #0C505F #0C265F
triadic
#0C505F #5F0C50 #505F0C
tetradic
#0C505F #440C5F #5F1B0C #265F0C
square
#0C505F #440C5F #5F1B0C #265F0C
split-complementary
#0C505F #5F0C26 #5F440C
monochromatic
#03171B #052229 #0C505F #137E95 #1AACCC

Accessibility & contrast

On white

9.02
#0C505F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#0C505F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C505F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C505F#FFFFFF#000000##FFFFFF
##0C505F1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D60
Deuteranopia (green-blind)
#3B465F
Tritanopia (blue-blind)
#005555
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c505f;
/* rgb */ color: rgb(12, 80, 95);
/* oklch */ color: oklch(39.9% 0.067 217.2);
Tailwind
colors: {
  custom: {
    50: '#5c818c',
    500: '#0c505f',
    950: '#000000',
  },
}
SCSS
$custom: #0c505f;
$custom-light: #5c818c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c505f",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 95
  },
  "hsl": {
    "h": 190.843,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3993,
    "c": 0.06691,
    "h": 217.2
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#0C505F
secondary
#99412D
accent
#5634F4
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #0C505F

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

Preview Lab → · Contrast checker → · Palette generator →

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