#0C2228#0C2228

#0C2228 is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 23.7% C 0.030 H 218.0°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#0C2228
RGBrgb(12, 34, 40)
HSLhsl(193, 54%, 10%)
HSVhsv(193, 70%, 16%)
CMYKcmyk(70%, 15%, 0%, 84.3%)
CIE-LABlab(11.79, -6.47, -6.67)
CIE-LCHlch(11.79, 9.30, 225.87°)
OKLaboklab(23.7% -0.0237 -0.0185)
OKLCHoklch(23.7% 0.03 218)
XYZxyz(1.1065, 1.3753, 2.2142)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2228 #28120C
analogous
#0C2820 #0C2228 #0C1428
triadic
#0C2228 #280C22 #22280C
tetradic
#0C2228 #200C28 #28120C #14280C
square
#0C2228 #200C28 #28120C #14280C
split-complementary
#0C2228 #280C14 #28200C
monochromatic
#071418 #071418 #0C2228 #1A4A57 #287286

Accessibility & contrast

On white

16.47
#0C2228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2228
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2228#FFFFFF#000000##FFFFFF
##0C22281.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2128
Deuteranopia (green-blind)
#1A1E28
Tritanopia (blue-blind)
#002424
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0c2228;
/* rgb */ color: rgb(12, 34, 40);
/* oklch */ color: oklch(23.7% 0.030 218.0);
Tailwind
colors: {
  custom: {
    50: '#4e5d61',
    500: '#0c2228',
    950: '#000000',
  },
}
SCSS
$custom: #0c2228;
$custom-light: #4e5d61;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2228",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 192.857,
    "s": 53.846,
    "l": 10.196
  },
  "oklch": {
    "l": 0.23703,
    "c": 0.03005,
    "h": 218
  },
  "luminance": 0.01375
}

Semantic roles & 50–950 ramp

primary
#0C2228
secondary
#63382D
accent
#6A4BDD
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010405
muted
#777979

Preview Lab

Preview with #0C2228

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

Preview Lab → · Contrast checker → · Palette generator →

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