#0C2F37#0C2F37

#0C2F37 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.4% C 0.042 H 215.8°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#0C2F37
RGBrgb(12, 47, 55)
HSLhsl(191, 64%, 13%)
HSVhsv(191, 78%, 22%)
CMYKcmyk(78.2%, 14.5%, 0%, 78.4%)
CIE-LABlab(17.40, -9.28, -8.77)
CIE-LCHlch(17.40, 12.77, 223.38°)
OKLaboklab(28.42% -0.0339 -0.0244)
OKLCHoklch(28.42% 0.042 215.8)
XYZxyz(1.8574, 2.3868, 3.9765)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F37 #37140C
analogous
#0C3729 #0C2F37 #0C1937
triadic
#0C2F37 #370C2F #2F370C
tetradic
#0C2F37 #290C37 #37140C #19370C
square
#0C2F37 #290C37 #37140C #19370C
split-complementary
#0C2F37 #370C19 #37290C
monochromatic
#051519 #051519 #0C2F37 #175A69 #22859B

Accessibility & contrast

On white

14.21
#0C2F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C2F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F37
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F37#FFFFFF#000000##FFFFFF
##0C2F371.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292D37
Deuteranopia (green-blind)
#232937
Tritanopia (blue-blind)
#003231
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c2f37;
/* rgb */ color: rgb(12, 47, 55);
/* oklch */ color: oklch(28.4% 0.042 215.8);
Tailwind
colors: {
  custom: {
    50: '#52676d',
    500: '#0c2f37',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f37;
$custom-light: #52676d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f37",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 55
  },
  "hsl": {
    "h": 191.163,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.28424,
    "c": 0.04174,
    "h": 215.8
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#0C2F37
secondary
#73392C
accent
#6041E7
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020607
muted
#787A7A

Preview Lab

Preview with #0C2F37

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

Preview Lab → · Contrast checker → · Palette generator →

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