#0C2129#0C2129

#0C2129 is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.4% C 0.031 H 225.4°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#0C2129
RGBrgb(12, 33, 41)
HSLhsl(197, 55%, 10%)
HSVhsv(197, 71%, 16%)
CMYKcmyk(70.7%, 19.5%, 0%, 83.9%)
CIE-LABlab(11.46, -5.40, -7.91)
CIE-LCHlch(11.46, 9.58, 235.72°)
OKLaboklab(23.45% -0.0217 -0.022)
OKLCHoklch(23.45% 0.031 225.4)
XYZxyz(1.0956, 1.3259, 2.2956)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2129 #29140C
analogous
#0C2922 #0C2129 #0C1229
triadic
#0C2129 #290C21 #21290C
tetradic
#0C2129 #220C29 #29140C #12290C
square
#0C2129 #220C29 #29140C #12290C
split-complementary
#0C2129 #290C12 #29220C
monochromatic
#071318 #071318 #0C2129 #1A4758 #286D88

Accessibility & contrast

On white

16.60
#0C2129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0C2129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2129
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2129#FFFFFF#000000##FFFFFF
##0C21291.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2029
Deuteranopia (green-blind)
#181D29
Tritanopia (blue-blind)
#002324
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0c2129;
/* rgb */ color: rgb(12, 33, 41);
/* oklch */ color: oklch(23.4% 0.031 225.4);
Tailwind
colors: {
  custom: {
    50: '#4e5c62',
    500: '#0c2129',
    950: '#000000',
  },
}
SCSS
$custom: #0c2129;
$custom-light: #4e5c62;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2129",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 196.552,
    "s": 54.717,
    "l": 10.392
  },
  "oklch": {
    "l": 0.23449,
    "c": 0.03092,
    "h": 225.4
  },
  "luminance": 0.01326
}

Semantic roles & 50–950 ramp

primary
#0C2129
secondary
#643C2D
accent
#734ADE
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#010405
muted
#777979

Preview Lab

Preview with #0C2129

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

Preview Lab → · Contrast checker → · Palette generator →

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