#0C2C38#0C2C38

#0C2C38 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.6% C 0.043 H 226.4°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#0C2C38
RGBrgb(12, 44, 56)
HSLhsl(196, 65%, 13%)
HSVhsv(196, 79%, 22%)
CMYKcmyk(78.6%, 21.4%, 0%, 78%)
CIE-LABlab(16.33, -6.93, -11.11)
CIE-LCHlch(16.33, 13.09, 238.04°)
OKLaboklab(27.58% -0.0295 -0.0311)
OKLCHoklch(27.58% 0.043 226.4)
XYZxyz(1.7658, 2.1649, 4.0654)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C38 #38180C
analogous
#0C382E #0C2C38 #0C1638
triadic
#0C2C38 #380C2C #2C380C
tetradic
#0C2C38 #2E0C38 #38180C #16380C
square
#0C2C38 #2E0C38 #38180C #16380C
split-complementary
#0C2C38 #380C16 #382E0C
monochromatic
#051419 #051419 #0C2C38 #17546A #227B9D

Accessibility & contrast

On white

14.65
#0C2C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2C38
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C38#FFFFFF#000000##FFFFFF
##0C2C381.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B39
Deuteranopia (green-blind)
#1F2738
Tritanopia (blue-blind)
#003030
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2c38;
/* rgb */ color: rgb(12, 44, 56);
/* oklch */ color: oklch(27.6% 0.043 226.4);
Tailwind
colors: {
  custom: {
    50: '#51656e',
    500: '#0c2c38',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c38;
$custom-light: #51656e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c38",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 56
  },
  "hsl": {
    "h": 196.364,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.27583,
    "c": 0.04286,
    "h": 226.4
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#0C2C38
secondary
#743F2C
accent
#6E40E8
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020507
muted
#787A7A

Preview Lab

Preview with #0C2C38

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

Preview Lab → · Contrast checker → · Palette generator →

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