#0C2C35#0C2C35

#0C2C35 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.040 H 219.7°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#0C2C35
RGBrgb(12, 44, 53)
HSLhsl(193, 63%, 13%)
HSVhsv(193, 77%, 21%)
CMYKcmyk(77.4%, 17%, 0%, 79.2%)
CIE-LABlab(16.19, -8.12, -9.23)
CIE-LCHlch(16.19, 12.29, 228.67°)
OKLaboklab(27.42% -0.031 -0.0257)
OKLCHoklch(27.42% 0.04 219.7)
XYZxyz(1.6946, 2.1364, 3.6905)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C35 #35150C
analogous
#0C3529 #0C2C35 #0C1735
triadic
#0C2C35 #350C2C #2C350C
tetradic
#0C2C35 #290C35 #35150C #17350C
square
#0C2C35 #290C35 #35150C #17350C
split-complementary
#0C2C35 #350C17 #35290C
monochromatic
#061519 #061519 #0C2C35 #175567 #237F99

Accessibility & contrast

On white

14.71
#0C2C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0C2C35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C35
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C35#FFFFFF#000000##FFFFFF
##0C2C351.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B35
Deuteranopia (green-blind)
#212635
Tritanopia (blue-blind)
#002F2F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2c35;
/* rgb */ color: rgb(12, 44, 53);
/* oklch */ color: oklch(27.4% 0.040 219.7);
Tailwind
colors: {
  custom: {
    50: '#51656c',
    500: '#0c2c35',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c35;
$custom-light: #51656c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c35",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 53
  },
  "hsl": {
    "h": 193.171,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.27422,
    "c": 0.04025,
    "h": 219.7
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#0C2C35
secondary
#713B2C
accent
#6642E6
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #0C2C35

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

Preview Lab → · Contrast checker → · Palette generator →

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