#0C4251#0C4251

#0C4251 is a dark, muted cyan. Relative luminance 0.046; OKLCH L 35.3% C 0.059 H 221.3°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#0C4251
RGBrgb(12, 66, 81)
HSLhsl(193, 74%, 18%)
HSVhsv(193, 85%, 32%)
CMYKcmyk(85.2%, 18.5%, 0%, 68.2%)
CIE-LABlab(25.47, -11.07, -13.90)
CIE-LCHlch(25.47, 17.77, 231.48°)
OKLaboklab(35.3% -0.0443 -0.0389)
OKLCHoklch(35.3% 0.059 221.3)
XYZxyz(3.5844, 4.5682, 8.4758)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4251 #511B0C
analogous
#0C513D #0C4251 #0C1F51
triadic
#0C4251 #510C42 #42510C
tetradic
#0C4251 #3D0C51 #511B0C #1F510C
square
#0C4251 #3D0C51 #511B0C #1F510C
split-complementary
#0C4251 #510C1F #513D0C
monochromatic
#04161B #04171C #0C4251 #146D86 #1C99BC

Accessibility & contrast

On white

10.97
#0C4251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#0C4251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4251
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4251#FFFFFF#000000##FFFFFF
##0C42511.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394052
Deuteranopia (green-blind)
#303951
Tritanopia (blue-blind)
#004747
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4251;
/* rgb */ color: rgb(12, 66, 81);
/* oklch */ color: oklch(35.3% 0.059 221.3);
Tailwind
colors: {
  custom: {
    50: '#587681',
    500: '#0c4251',
    950: '#000000',
  },
}
SCSS
$custom: #0c4251;
$custom-light: #587681;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4251",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 81
  },
  "hsl": {
    "h": 193.043,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.35296,
    "c": 0.05895,
    "h": 221.3
  },
  "luminance": 0.04569
}

Semantic roles & 50–950 ramp

primary
#0C4251
secondary
#8C412C
accent
#5F37F1
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #0C4251

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

Preview Lab → · Contrast checker → · Palette generator →

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