#0C2D34#0C2D34

#0C2D34 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.7% C 0.040 H 214.3°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#0C2D34
RGBrgb(12, 45, 52)
HSLhsl(191, 63%, 13%)
HSVhsv(191, 77%, 20%)
CMYKcmyk(76.9%, 13.5%, 0%, 79.6%)
CIE-LABlab(16.52, -9.15, -8.03)
CIE-LCHlch(16.52, 12.18, 221.25°)
OKLaboklab(27.67% -0.0328 -0.0223)
OKLCHoklch(27.67% 0.04 214.3)
XYZxyz(1.7096, 2.2027, 3.5832)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D34 #34130C
analogous
#0C3427 #0C2D34 #0C1934
triadic
#0C2D34 #340C2D #2D340C
tetradic
#0C2D34 #270C34 #34130C #19340C
square
#0C2D34 #270C34 #34130C #19340C
split-complementary
#0C2D34 #340C19 #34270C
monochromatic
#061619 #061619 #0C2D34 #175866 #238397

Accessibility & contrast

On white

14.58
#0C2D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0C2D34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D34
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D34#FFFFFF#000000##FFFFFF
##0C2D341.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B34
Deuteranopia (green-blind)
#222734
Tritanopia (blue-blind)
#00302F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2d34;
/* rgb */ color: rgb(12, 45, 52);
/* oklch */ color: oklch(27.7% 0.040 214.3);
Tailwind
colors: {
  custom: {
    50: '#51666b',
    500: '#0c2d34',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d34;
$custom-light: #51666b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d34",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 52
  },
  "hsl": {
    "h": 190.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.27671,
    "c": 0.03964,
    "h": 214.3
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#0C2D34
secondary
#70382C
accent
#5F42E6
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020506
muted
#787A7A

Preview Lab

Preview with #0C2D34

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

Preview Lab → · Contrast checker → · Palette generator →

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