#222836#222836

#222836 is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.7% C 0.027 H 266.6°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#222836
RGBrgb(34, 40, 54)
HSLhsl(222, 23%, 17%)
HSVhsv(222, 37%, 21%)
CMYKcmyk(37%, 25.9%, 0%, 78.8%)
CIE-LABlab(16.12, 1.48, -9.91)
CIE-LCHlch(16.12, 10.02, 278.49°)
OKLaboklab(27.74% -0.0016 -0.0273)
OKLCHoklch(27.74% 0.027 266.6)
XYZxyz(2.0841, 2.1239, 3.7895)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222836 #363022
analogous
#223236 #222836 #262236
triadic
#222836 #362228 #283622
tetradic
#222836 #362232 #363022 #223626
square
#222836 #362232 #363022 #223626
split-complementary
#222836 #362622 #323622
monochromatic
#0C0E13 #0C0E13 #222836 #3A445C #516081

Accessibility & contrast

On white

14.74
#222836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222836
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222836#FFFFFF#000000##FFFFFF
##2228361.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232937
Deuteranopia (green-blind)
#222736
Tritanopia (blue-blind)
#1C2B2D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #222836;
/* rgb */ color: rgb(34, 40, 54);
/* oklch */ color: oklch(27.7% 0.027 266.6);
Tailwind
colors: {
  custom: {
    50: '#5d616d',
    500: '#222836',
    950: '#000000',
  },
}
SCSS
$custom: #222836;
$custom-light: #5d616d;
$custom-dark: #000000;
JSON
{
  "hex": "#222836",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 54
  },
  "hsl": {
    "h": 222,
    "s": 22.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27741,
    "c": 0.0274,
    "h": 266.6
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#222836
secondary
#68604C
accent
#A569BF
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040507
muted
#79797A

Preview Lab

Preview with #222836

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

Preview Lab → · Contrast checker → · Palette generator →

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