#12222E#12222E

#12222E is a very dark, muted cyan. Relative luminance 0.015; OKLCH L 24.4% C 0.032 H 242.1°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#12222E
RGBrgb(18, 34, 46)
HSLhsl(206, 44%, 13%)
HSVhsv(206, 61%, 18%)
CMYKcmyk(60.9%, 26.1%, 0%, 82%)
CIE-LABlab(12.41, -2.46, -10.03)
CIE-LCHlch(12.41, 10.33, 256.21°)
OKLaboklab(24.39% -0.0148 -0.0279)
OKLCHoklch(24.39% 0.032 242.1)
XYZxyz(1.3144, 1.4698, 2.7987)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12222E #2E1E12
analogous
#122E2C #12222E #12142E
triadic
#12222E #2E1222 #222E12
tetradic
#12222E #2C122E #2E1E12 #142E12
square
#12222E #2C122E #2E1E12 #142E12
split-complementary
#12222E #2E1214 #2E2C12
monochromatic
#091016 #091016 #12222E #23435A #346386

Accessibility & contrast

On white

16.23
#12222E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12222E
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12222E#FFFFFF#000000##FFFFFF
##12222E1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D222F
Deuteranopia (green-blind)
#191F2E
Tritanopia (blue-blind)
#052526
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #12222e;
/* rgb */ color: rgb(18, 34, 46);
/* oklch */ color: oklch(24.4% 0.032 242.1);
Tailwind
colors: {
  custom: {
    50: '#525c66',
    500: '#12222e',
    950: '#000000',
  },
}
SCSS
$custom: #12222e;
$custom-light: #525c66;
$custom-dark: #000000;
JSON
{
  "hex": "#12222e",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 46
  },
  "hsl": {
    "h": 205.714,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24385,
    "c": 0.03163,
    "h": 242.1
  },
  "luminance": 0.0147
}

Semantic roles & 50–950 ramp

primary
#12222E
secondary
#664A36
accent
#8B54D3
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020406
muted
#78797A

Preview Lab

Preview with #12222E

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

Preview Lab → · Contrast checker → · Palette generator →

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