#0C515F#0C515F

#0C515F is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.2% C 0.067 H 215.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#0C515F
RGBrgb(12, 81, 95)
HSLhsl(190, 78%, 21%)
HSVhsv(190, 87%, 37%)
CMYKcmyk(87.4%, 14.7%, 0%, 62.7%)
CIE-LABlab(31.32, -14.66, -13.93)
CIE-LCHlch(31.32, 20.23, 223.55°)
OKLaboklab(40.21% -0.0544 -0.0389)
OKLCHoklch(40.21% 0.067 215.6)
XYZxyz(5.1587, 6.7886, 11.8627)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C515F #5F1A0C
analogous
#0C5F43 #0C515F #0C275F
triadic
#0C515F #5F0C51 #515F0C
tetradic
#0C515F #430C5F #5F1A0C #275F0C
square
#0C515F #430C5F #5F1A0C #275F0C
split-complementary
#0C515F #5F0C27 #5F430C
monochromatic
#03171B #052329 #0C515F #137F95 #1AAECC

Accessibility & contrast

On white

8.91
#0C515F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0C515F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C515F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C515F#FFFFFF#000000##FFFFFF
##0C515F1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E60
Deuteranopia (green-blind)
#3D465F
Tritanopia (blue-blind)
#005655
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c515f;
/* rgb */ color: rgb(12, 81, 95);
/* oklch */ color: oklch(40.2% 0.067 215.6);
Tailwind
colors: {
  custom: {
    50: '#5d828c',
    500: '#0c515f',
    950: '#000000',
  },
}
SCSS
$custom: #0c515f;
$custom-light: #5d828c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c515f",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 95
  },
  "hsl": {
    "h": 190.12,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40209,
    "c": 0.06688,
    "h": 215.6
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#0C515F
secondary
#99402D
accent
#5434F4
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #0C515F

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

Preview Lab → · Contrast checker → · Palette generator →

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