#0C222E#0C222E

#0C222E is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 24.0% C 0.036 H 234.9°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#0C222E
RGBrgb(12, 34, 46)
HSLhsl(201, 59%, 11%)
HSVhsv(201, 74%, 18%)
CMYKcmyk(73.9%, 26.1%, 0%, 82%)
CIE-LABlab(12.09, -4.10, -10.57)
CIE-LCHlch(12.09, 11.33, 248.79°)
OKLaboklab(24.03% -0.0208 -0.0296)
OKLCHoklch(24.03% 0.036 234.9)
XYZxyz(1.2166, 1.4194, 2.7941)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C222E #2E180C
analogous
#0C2E29 #0C222E #0C112E
triadic
#0C222E #2E0C22 #222E0C
tetradic
#0C222E #290C2E #2E180C #112E0C
square
#0C222E #290C2E #2E180C #112E0C
split-complementary
#0C222E #2E0C11 #2E290C
monochromatic
#061218 #061218 #0C222E #19465F #256A8F

Accessibility & contrast

On white

16.36
#0C222E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0C222E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C222E
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C222E#FFFFFF#000000##FFFFFF
##0C222E1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C222F
Deuteranopia (green-blind)
#181E2E
Tritanopia (blue-blind)
#002526
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0c222e;
/* rgb */ color: rgb(12, 34, 46);
/* oklch */ color: oklch(24.0% 0.036 234.9);
Tailwind
colors: {
  custom: {
    50: '#4f5c66',
    500: '#0c222e',
    950: '#000000',
  },
}
SCSS
$custom: #0c222e;
$custom-light: #4f5c66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c222e",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 46
  },
  "hsl": {
    "h": 201.176,
    "s": 58.621,
    "l": 11.373
  },
  "oklch": {
    "l": 0.24034,
    "c": 0.03614,
    "h": 234.9
  },
  "luminance": 0.01419
}

Semantic roles & 50–950 ramp

primary
#0C222E
secondary
#6A422C
accent
#7D46E2
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020406
muted
#78797A

Preview Lab

Preview with #0C222E

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

Preview Lab → · Contrast checker → · Palette generator →

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