#0C4051#0C4051

#0C4051 is a dark, muted cyan. Relative luminance 0.043; OKLCH L 34.7% C 0.059 H 225.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#0C4051
RGBrgb(12, 64, 81)
HSLhsl(195, 74%, 18%)
HSVhsv(195, 85%, 32%)
CMYKcmyk(85.2%, 21%, 0%, 68.2%)
CIE-LABlab(24.76, -9.83, -14.99)
CIE-LCHlch(24.76, 17.93, 236.75°)
OKLaboklab(34.73% -0.042 -0.042)
OKLCHoklch(34.73% 0.059 225)
XYZxyz(3.4696, 4.3386, 8.4376)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4051 #511D0C
analogous
#0C513F #0C4051 #0C1D51
triadic
#0C4051 #510C40 #40510C
tetradic
#0C4051 #3F0C51 #511D0C #1D510C
square
#0C4051 #3F0C51 #511D0C #1D510C
split-complementary
#0C4051 #510C1D #513F0C
monochromatic
#04151B #04161C #0C4051 #146A86 #1C94BC

Accessibility & contrast

On white

11.24
#0C4051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#0C4051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4051
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4051#FFFFFF#000000##FFFFFF
##0C40511.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E52
Deuteranopia (green-blind)
#2D3851
Tritanopia (blue-blind)
#004546
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c4051;
/* rgb */ color: rgb(12, 64, 81);
/* oklch */ color: oklch(34.7% 0.059 225.0);
Tailwind
colors: {
  custom: {
    50: '#587482',
    500: '#0c4051',
    950: '#000000',
  },
}
SCSS
$custom: #0c4051;
$custom-light: #587482;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4051",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 81
  },
  "hsl": {
    "h": 194.783,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34728,
    "c": 0.05946,
    "h": 225
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#0C4051
secondary
#8C442C
accent
#6537F1
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #0C4051

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

Preview Lab → · Contrast checker → · Palette generator →

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