#12212E#12212E

#12212E is a very dark, muted cyan. Relative luminance 0.014; OKLCH L 24.1% C 0.032 H 245.8°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#12212E
RGBrgb(18, 33, 46)
HSLhsl(208, 44%, 13%)
HSVhsv(208, 61%, 18%)
CMYKcmyk(60.9%, 28.3%, 0%, 82%)
CIE-LABlab(12.05, -1.74, -10.60)
CIE-LCHlch(12.05, 10.74, 260.68°)
OKLaboklab(24.09% -0.0133 -0.0296)
OKLCHoklch(24.09% 0.032 245.8)
XYZxyz(1.2863, 1.4135, 2.7893)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12212E #2E1F12
analogous
#122E2D #12212E #12132E
triadic
#12212E #2E1221 #212E12
tetradic
#12212E #2D122E #2E1F12 #132E12
square
#12212E #2D122E #2E1F12 #132E12
split-complementary
#12212E #2E1213 #2E2D12
monochromatic
#091016 #091016 #12212E #23415A #346086

Accessibility & contrast

On white

16.37
#12212E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#12212E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12212E
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12212E#FFFFFF#000000##FFFFFF
##12212E1.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12212e;
/* rgb */ color: rgb(18, 33, 46);
/* oklch */ color: oklch(24.1% 0.032 245.8);
Tailwind
colors: {
  custom: {
    50: '#525c66',
    500: '#12212e',
    950: '#000000',
  },
}
SCSS
$custom: #12212e;
$custom-light: #525c66;
$custom-dark: #000000;
JSON
{
  "hex": "#12212e",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 46
  },
  "hsl": {
    "h": 207.857,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24094,
    "c": 0.03242,
    "h": 245.8
  },
  "luminance": 0.01414
}

Semantic roles & 50–950 ramp

primary
#12212E
secondary
#664C36
accent
#8F54D3
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020406
muted
#78797A

Preview Lab

Preview with #12212E

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

Preview Lab → · Contrast checker → · Palette generator →

#12212E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva