#12222C#12222C

#12222C is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.3% C 0.029 H 237.1°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#12222C
RGBrgb(18, 34, 44)
HSLhsl(203, 42%, 12%)
HSVhsv(203, 59%, 17%)
CMYKcmyk(59.1%, 22.7%, 0%, 82.7%)
CIE-LABlab(12.32, -3.22, -8.74)
CIE-LCHlch(12.32, 9.32, 249.80°)
OKLaboklab(24.27% -0.0157 -0.0243)
OKLCHoklch(24.27% 0.029 237.1)
XYZxyz(1.2759, 1.4544, 2.5959)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12222C #2C1C12
analogous
#122C29 #12222C #12152C
triadic
#12222C #2C1222 #222C12
tetradic
#12222C #29122C #2C1C12 #152C12
square
#12222C #29122C #2C1C12 #152C12
split-complementary
#12222C #2C1215 #2C2912
monochromatic
#091116 #091116 #12222C #244457 #366583

Accessibility & contrast

On white

16.27
#12222C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#12222C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12222C
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12222C#FFFFFF#000000##FFFFFF
##12222C1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D222C
Deuteranopia (green-blind)
#1A1F2C
Tritanopia (blue-blind)
#062525
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #12222c;
/* rgb */ color: rgb(18, 34, 44);
/* oklch */ color: oklch(24.3% 0.029 237.1);
Tailwind
colors: {
  custom: {
    50: '#525c65',
    500: '#12222c',
    950: '#000000',
  },
}
SCSS
$custom: #12222c;
$custom-light: #525c65;
$custom-dark: #000000;
JSON
{
  "hex": "#12222c",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 44
  },
  "hsl": {
    "h": 203.077,
    "s": 41.935,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24273,
    "c": 0.02892,
    "h": 237.1
  },
  "luminance": 0.01455
}

Semantic roles & 50–950 ramp

primary
#12222C
secondary
#634836
accent
#8656D2
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020405
muted
#78797A

Preview Lab

Preview with #12222C

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

Preview Lab → · Contrast checker → · Palette generator →

#12222C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva