#0C4151#0C4151

#0C4151 is a dark, muted cyan. Relative luminance 0.045; OKLCH L 35.0% C 0.059 H 223.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#0C4151
RGBrgb(12, 65, 81)
HSLhsl(194, 74%, 18%)
HSVhsv(194, 85%, 32%)
CMYKcmyk(85.2%, 19.8%, 0%, 68.2%)
CIE-LABlab(25.11, -10.45, -14.44)
CIE-LCHlch(25.11, 17.83, 234.12°)
OKLaboklab(35.01% -0.0432 -0.0405)
OKLCHoklch(35.01% 0.059 223.2)
XYZxyz(3.5265, 4.4524, 8.4565)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4151 #511C0C
analogous
#0C513E #0C4151 #0C1E51
triadic
#0C4151 #510C41 #41510C
tetradic
#0C4151 #3E0C51 #511C0C #1E510C
square
#0C4151 #3E0C51 #511C0C #1E510C
split-complementary
#0C4151 #510C1E #513E0C
monochromatic
#04151B #04161C #0C4151 #146C86 #1C97BC

Accessibility & contrast

On white

11.11
#0C4151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0C4151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4151
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4151#FFFFFF#000000##FFFFFF
##0C41511.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383F52
Deuteranopia (green-blind)
#2F3951
Tritanopia (blue-blind)
#004646
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4151;
/* rgb */ color: rgb(12, 65, 81);
/* oklch */ color: oklch(35.0% 0.059 223.2);
Tailwind
colors: {
  custom: {
    50: '#587582',
    500: '#0c4151',
    950: '#000000',
  },
}
SCSS
$custom: #0c4151;
$custom-light: #587582;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4151",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 193.913,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.35012,
    "c": 0.05917,
    "h": 223.2
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#0C4151
secondary
#8C432C
accent
#6237F1
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #0C4151

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

Preview Lab → · Contrast checker → · Palette generator →

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