#0C2A36#0C2A36

#0C2A36 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 26.9% C 0.042 H 227.8°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#0C2A36
RGBrgb(12, 42, 54)
HSLhsl(197, 64%, 13%)
HSVhsv(197, 78%, 21%)
CMYKcmyk(77.8%, 22.2%, 0%, 78.8%)
CIE-LABlab(15.49, -6.39, -11.00)
CIE-LCHlch(15.49, 12.72, 239.86°)
OKLaboklab(26.88% -0.0279 -0.0308)
OKLCHoklch(26.88% 0.042 227.8)
XYZxyz(1.6452, 2.0003, 3.7887)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A36 #36180C
analogous
#0C362D #0C2A36 #0C1536
triadic
#0C2A36 #360C2A #2A360C
tetradic
#0C2A36 #2D0C36 #36180C #15360C
square
#0C2A36 #2D0C36 #36180C #15360C
split-complementary
#0C2A36 #360C15 #362D0C
monochromatic
#061319 #061319 #0C2A36 #175168 #22789A

Accessibility & contrast

On white

15.00
#0C2A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0C2A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A36
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A36#FFFFFF#000000##FFFFFF
##0C2A361.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242937
Deuteranopia (green-blind)
#1E2536
Tritanopia (blue-blind)
#002D2E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2a36;
/* rgb */ color: rgb(12, 42, 54);
/* oklch */ color: oklch(26.9% 0.042 227.8);
Tailwind
colors: {
  custom: {
    50: '#51636d',
    500: '#0c2a36',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a36;
$custom-light: #51636d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a36",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 54
  },
  "hsl": {
    "h": 197.143,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.26878,
    "c": 0.04152,
    "h": 227.8
  },
  "luminance": 0.02
}

Semantic roles & 50–950 ramp

primary
#0C2A36
secondary
#72402C
accent
#7041E7
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020507
muted
#78797A

Preview Lab

Preview with #0C2A36

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

Preview Lab → · Contrast checker → · Palette generator →

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