#22242A#22242A

#22242A is a dark, near-neutral blue. Relative luminance 0.018; OKLCH L 26.1% C 0.012 H 270.9°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#22242A
RGBrgb(34, 36, 42)
HSLhsl(225, 11%, 15%)
HSVhsv(225, 19%, 16%)
CMYKcmyk(19%, 14.3%, 0%, 83.5%)
CIE-LABlab(14.23, 0.69, -4.29)
CIE-LCHlch(14.23, 4.34, 279.20°)
OKLaboklab(26.08% 0.0002 -0.0116)
OKLCHoklch(26.08% 0.012 270.9)
XYZxyz(1.7084, 1.7690, 2.4415)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22242A #2A2822
analogous
#22282A #22242A #24222A
triadic
#22242A #2A2224 #242A22
tetradic
#22242A #2A2228 #2A2822 #222A24
square
#22242A #2A2228 #2A2822 #222A24
split-complementary
#22242A #2A2422 #282A22
monochromatic
#0E0E11 #0E0E11 #22242A #3D414C #595E6E

Accessibility & contrast

On white

15.51
#22242A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#22242A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22242A
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22242A#FFFFFF#000000##FFFFFF
##22242A1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242A
Deuteranopia (green-blind)
#22242A
Tritanopia (blue-blind)
#202526
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #22242a;
/* rgb */ color: rgb(34, 36, 42);
/* oklch */ color: oklch(26.1% 0.012 270.9);
Tailwind
colors: {
  custom: {
    50: '#5d5e63',
    500: '#22242a',
    950: '#000000',
  },
}
SCSS
$custom: #22242a;
$custom-light: #5d5e63;
$custom-dark: #000000;
JSON
{
  "hex": "#22242a",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 42
  },
  "hsl": {
    "h": 225,
    "s": 10.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2608,
    "c": 0.0116,
    "h": 270.9
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#22242A
secondary
#5A574E
accent
#A474B3
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040405
muted
#797979

Preview Lab

Preview with #22242A

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

Preview Lab → · Contrast checker → · Palette generator →

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