#0C2B35#0C2B35

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

Color values

HEX#0C2B35
RGBrgb(12, 43, 53)
HSLhsl(195, 63%, 13%)
HSVhsv(195, 77%, 21%)
CMYKcmyk(77.4%, 18.9%, 0%, 79.2%)
CIE-LABlab(15.81, -7.46, -9.80)
CIE-LCHlch(15.81, 12.32, 232.73°)
OKLaboklab(27.12% -0.0296 -0.0273)
OKLCHoklch(27.12% 0.04 222.7)
XYZxyz(1.6578, 2.0628, 3.6783)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2B35 #35160C
analogous
#0C352A #0C2B35 #0C1635
triadic
#0C2B35 #350C2B #2B350C
tetradic
#0C2B35 #2A0C35 #35160C #16350C
square
#0C2B35 #2A0C35 #35160C #16350C
split-complementary
#0C2B35 #350C16 #352A0C
monochromatic
#061419 #061419 #0C2B35 #175367 #237C99

Accessibility & contrast

On white

14.87
#0C2B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2B35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2B35
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2B35#FFFFFF#000000##FFFFFF
##0C2B351.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252A36
Deuteranopia (green-blind)
#1F2635
Tritanopia (blue-blind)
#002E2E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2b35;
/* rgb */ color: rgb(12, 43, 53);
/* oklch */ color: oklch(27.1% 0.040 222.7);
Tailwind
colors: {
  custom: {
    50: '#51646c',
    500: '#0c2b35',
    950: '#000000',
  },
}
SCSS
$custom: #0c2b35;
$custom-light: #51646c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2b35",
  "rgb": {
    "r": 12,
    "g": 43,
    "b": 53
  },
  "hsl": {
    "h": 194.634,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.27122,
    "c": 0.04034,
    "h": 222.7
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#0C2B35
secondary
#713D2C
accent
#6A42E6
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #0C2B35

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

Preview Lab → · Contrast checker → · Palette generator →

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