#22242E#22242E

#22242E is a dark, near-neutral blue. Relative luminance 0.018; OKLCH L 26.3% C 0.019 H 276.2°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#22242E
RGBrgb(34, 36, 46)
HSLhsl(230, 15%, 16%)
HSVhsv(230, 26%, 18%)
CMYKcmyk(26.1%, 21.7%, 0%, 82%)
CIE-LABlab(14.40, 1.85, -6.89)
CIE-LCHlch(14.40, 7.13, 285.06°)
OKLaboklab(26.27% 0.002 -0.0188)
OKLCHoklch(26.27% 0.019 276.2)
XYZxyz(1.7836, 1.7991, 2.8375)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22242E #2E2C22
analogous
#222A2E #22242E #26222E
triadic
#22242E #2E2224 #242E22
tetradic
#22242E #2E222A #2E2C22 #222E26
square
#22242E #2E222A #2E2C22 #222E26
split-complementary
#22242E #2E2622 #2A2E22
monochromatic
#0D0E12 #0D0E12 #22242E #3C4051 #565B74

Accessibility & contrast

On white

15.44
#22242E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#22242E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22242E
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22242E#FFFFFF#000000##FFFFFF
##22242E1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252E
Deuteranopia (green-blind)
#21242E
Tritanopia (blue-blind)
#1F2627
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #22242e;
/* rgb */ color: rgb(34, 36, 46);
/* oklch */ color: oklch(26.3% 0.019 276.2);
Tailwind
colors: {
  custom: {
    50: '#5d5e66',
    500: '#22242e',
    950: '#000000',
  },
}
SCSS
$custom: #22242e;
$custom-light: #5d5e66;
$custom-dark: #000000;
JSON
{
  "hex": "#22242e",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 230,
    "s": 15,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26269,
    "c": 0.01893,
    "h": 276.2
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#22242E
secondary
#5F5C4D
accent
#AC70B8
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #22242E

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

Preview Lab → · Contrast checker → · Palette generator →

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