#0C2D38#0C2D38

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

Color values

HEX#0C2D38
RGBrgb(12, 45, 56)
HSLhsl(195, 65%, 13%)
HSVhsv(195, 79%, 22%)
CMYKcmyk(78.6%, 19.6%, 0%, 78%)
CIE-LABlab(16.70, -7.59, -10.53)
CIE-LCHlch(16.70, 12.98, 234.22°)
OKLaboklab(27.88% -0.0308 -0.0294)
OKLCHoklch(27.88% 0.043 223.7)
XYZxyz(1.8035, 2.2403, 4.0780)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D38 #38170C
analogous
#0C382D #0C2D38 #0C1738
triadic
#0C2D38 #380C2D #2D380C
tetradic
#0C2D38 #2D0C38 #38170C #17380C
square
#0C2D38 #2D0C38 #38170C #17380C
split-complementary
#0C2D38 #380C17 #382D0C
monochromatic
#051419 #051419 #0C2D38 #17556A #227E9D

Accessibility & contrast

On white

14.50
#0C2D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0C2D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D38
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D38#FFFFFF#000000##FFFFFF
##0C2D381.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272C39
Deuteranopia (green-blind)
#212738
Tritanopia (blue-blind)
#003031
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2d38;
/* rgb */ color: rgb(12, 45, 56);
/* oklch */ color: oklch(27.9% 0.043 223.7);
Tailwind
colors: {
  custom: {
    50: '#51656e',
    500: '#0c2d38',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d38;
$custom-light: #51656e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d38",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 56
  },
  "hsl": {
    "h": 195,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2788,
    "c": 0.0426,
    "h": 223.7
  },
  "luminance": 0.0224
}

Semantic roles & 50–950 ramp

primary
#0C2D38
secondary
#743E2C
accent
#6A40E8
background
#F4F6F6
surface
#E7EBEB
border
#C3C6C6
text
#020507
muted
#787A7A

Preview Lab

Preview with #0C2D38

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

Preview Lab → · Contrast checker → · Palette generator →

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