#0C212B#0C212B

#0C212B is a very dark, muted cyan. Relative luminance 0.013; OKLCH L 23.6% C 0.033 H 231.1°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#0C212B
RGBrgb(12, 33, 43)
HSLhsl(199, 56%, 11%)
HSVhsv(199, 72%, 17%)
CMYKcmyk(72.1%, 23.3%, 0%, 83.1%)
CIE-LABlab(11.55, -4.60, -9.22)
CIE-LCHlch(11.55, 10.30, 243.47°)
OKLaboklab(23.56% -0.0207 -0.0257)
OKLCHoklch(23.56% 0.033 231.1)
XYZxyz(1.1314, 1.3402, 2.4841)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C212B #2B160C
analogous
#0C2B25 #0C212B #0C112B
triadic
#0C212B #2B0C21 #212B0C
tetradic
#0C212B #250C2B #2B160C #112B0C
square
#0C212B #250C2B #2B160C #112B0C
split-complementary
#0C212B #2B0C11 #2B250C
monochromatic
#071218 #071218 #0C212B #19465B #276A8B

Accessibility & contrast

On white

16.56
#0C212B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C212B
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C212B#FFFFFF#000000##FFFFFF
##0C212B1.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C202B
Deuteranopia (green-blind)
#181D2B
Tritanopia (blue-blind)
#002424
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0c212b;
/* rgb */ color: rgb(12, 33, 43);
/* oklch */ color: oklch(23.6% 0.033 231.1);
Tailwind
colors: {
  custom: {
    50: '#4e5c64',
    500: '#0c212b',
    950: '#000000',
  },
}
SCSS
$custom: #0c212b;
$custom-light: #4e5c64;
$custom-dark: #000000;
JSON
{
  "hex": "#0c212b",
  "rgb": {
    "r": 12,
    "g": 33,
    "b": 43
  },
  "hsl": {
    "h": 199.355,
    "s": 56.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2356,
    "c": 0.03304,
    "h": 231.1
  },
  "luminance": 0.0134
}

Semantic roles & 50–950 ramp

primary
#0C212B
secondary
#663F2C
accent
#7948E0
background
#F4F5F5
surface
#E7E9EA
border
#C3C5C6
text
#020405
muted
#787979

Preview Lab

Preview with #0C212B

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

Preview Lab → · Contrast checker → · Palette generator →

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