#0C4156#0C4156

#0C4156 is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.3% C 0.064 H 230.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#0C4156
RGBrgb(12, 65, 86)
HSLhsl(197, 76%, 19%)
HSVhsv(197, 86%, 34%)
CMYKcmyk(86%, 24.4%, 0%, 66.3%)
CIE-LABlab(25.35, -8.47, -17.35)
CIE-LCHlch(25.35, 19.30, 243.99°)
OKLaboklab(35.28% -0.041 -0.0488)
OKLCHoklch(35.28% 0.064 230)
XYZxyz(3.7209, 4.5302, 9.4806)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4156 #56210C
analogous
#0C5646 #0C4156 #0C1C56
triadic
#0C4156 #560C41 #41560C
tetradic
#0C4156 #460C56 #56210C #1C560C
square
#0C4156 #460C56 #56210C #1C560C
split-complementary
#0C4156 #560C1C #56460C
monochromatic
#04141B #051820 #0C4156 #136A8C #1B92C1

Accessibility & contrast

On white

11.02
#0C4156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4156
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4156#FFFFFF#000000##FFFFFF
##0C41561.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364057
Deuteranopia (green-blind)
#2C3956
Tritanopia (blue-blind)
#004748
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4156;
/* rgb */ color: rgb(12, 65, 86);
/* oklch */ color: oklch(35.3% 0.064 230.0);
Tailwind
colors: {
  custom: {
    50: '#597585',
    500: '#0c4156',
    950: '#000000',
  },
}
SCSS
$custom: #0c4156;
$custom-light: #597585;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4156",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 86
  },
  "hsl": {
    "h": 197.027,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.35281,
    "c": 0.06375,
    "h": 230
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#0C4156
secondary
#91492D
accent
#6B36F2
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0C4156

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

Preview Lab → · Contrast checker → · Palette generator →

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