#22262F#22262F

#22262F is a dark, near-neutral blue. Relative luminance 0.019; OKLCH L 26.9% C 0.018 H 266.3°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#22262F
RGBrgb(34, 38, 47)
HSLhsl(222, 16%, 16%)
HSVhsv(222, 28%, 18%)
CMYKcmyk(27.7%, 19.1%, 0%, 81.6%)
CIE-LABlab(15.12, 0.73, -6.50)
CIE-LCHlch(15.12, 6.54, 276.38°)
OKLaboklab(26.85% -0.0011 -0.0177)
OKLCHoklch(26.85% 0.018 266.3)
XYZxyz(1.8658, 1.9315, 2.9633)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22262F #2F2B22
analogous
#222C2F #22262F #24222F
triadic
#22262F #2F2226 #262F22
tetradic
#22262F #2F222C #2F2B22 #222F24
square
#22262F #2F222C #2F2B22 #222F24
split-complementary
#22262F #2F2422 #2C2F22
monochromatic
#0D0E12 #0D0E12 #22262F #3C4353 #555F76

Accessibility & contrast

On white

15.15
#22262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#22262F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22262F
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22262F#FFFFFF#000000##FFFFFF
##22262F1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23272F
Deuteranopia (green-blind)
#22252F
Tritanopia (blue-blind)
#1F2829
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #22262f;
/* rgb */ color: rgb(34, 38, 47);
/* oklch */ color: oklch(26.9% 0.018 266.3);
Tailwind
colors: {
  custom: {
    50: '#5d6067',
    500: '#22262f',
    950: '#000000',
  },
}
SCSS
$custom: #22262f;
$custom-light: #5d6067;
$custom-dark: #000000;
JSON
{
  "hex": "#22262f",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 221.538,
    "s": 16.049,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26853,
    "c": 0.01778,
    "h": 266.3
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#22262F
secondary
#605A4D
accent
#A26FB9
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #22262F

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

Preview Lab → · Contrast checker → · Palette generator →

#22262F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva