#222832#222832

#222832 is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.5% C 0.020 H 260.6°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#222832
RGBrgb(34, 40, 50)
HSLhsl(218, 19%, 16%)
HSVhsv(218, 32%, 20%)
CMYKcmyk(32%, 20%, 0%, 80.4%)
CIE-LABlab(15.94, 0.22, -7.38)
CIE-LCHlch(15.94, 7.38, 271.71°)
OKLaboklab(27.54% -0.0033 -0.0202)
OKLCHoklch(27.54% 0.02 260.6)
XYZxyz(1.9940, 2.0879, 3.3149)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222832 #322C22
analogous
#223032 #222832 #242232
triadic
#222832 #322228 #283222
tetradic
#222832 #322230 #322C22 #223224
square
#222832 #322230 #322C22 #223224
split-complementary
#222832 #322422 #303222
monochromatic
#0C0F12 #0C0F12 #222832 #3B4556 #54627B

Accessibility & contrast

On white

14.81
#222832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#222832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222832
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222832#FFFFFF#000000##FFFFFF
##2228321.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252832
Deuteranopia (green-blind)
#232732
Tritanopia (blue-blind)
#1E2A2B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #222832;
/* rgb */ color: rgb(34, 40, 50);
/* oklch */ color: oklch(27.5% 0.020 260.6);
Tailwind
colors: {
  custom: {
    50: '#5d6169',
    500: '#222832',
    950: '#000000',
  },
}
SCSS
$custom: #222832;
$custom-light: #5d6169;
$custom-dark: #000000;
JSON
{
  "hex": "#222832",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 50
  },
  "hsl": {
    "h": 217.5,
    "s": 19.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27538,
    "c": 0.02048,
    "h": 260.6
  },
  "luminance": 0.02088
}

Semantic roles & 50–950 ramp

primary
#222832
secondary
#645B4C
accent
#9E6CBC
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040506
muted
#79797A

Preview Lab

Preview with #222832

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

Preview Lab → · Contrast checker → · Palette generator →

#222832 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva