#222A36#222A36

#222A36 is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.3% C 0.025 H 258.4°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#222A36
RGBrgb(34, 42, 54)
HSLhsl(216, 23%, 17%)
HSVhsv(216, 37%, 21%)
CMYKcmyk(37%, 22.2%, 0%, 78.8%)
CIE-LABlab(16.81, 0.07, -8.87)
CIE-LCHlch(16.81, 8.87, 270.43°)
OKLaboklab(28.28% -0.005 -0.0244)
OKLCHoklch(28.28% 0.025 258.4)
XYZxyz(2.1533, 2.2623, 3.8125)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A36 #362E22
analogous
#223436 #222A36 #242236
triadic
#222A36 #36222A #2A3622
tetradic
#222A36 #362234 #362E22 #223624
square
#222A36 #362234 #362E22 #223624
split-complementary
#222A36 #362422 #343622
monochromatic
#0C0F13 #0C0F13 #222A36 #3A475C #516481

Accessibility & contrast

On white

14.46
#222A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#222A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A36
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A36#FFFFFF#000000##FFFFFF
##222A361.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B37
Deuteranopia (green-blind)
#242936
Tritanopia (blue-blind)
#1C2D2E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #222a36;
/* rgb */ color: rgb(34, 42, 54);
/* oklch */ color: oklch(28.3% 0.025 258.4);
Tailwind
colors: {
  custom: {
    50: '#5d636d',
    500: '#222a36',
    950: '#000000',
  },
}
SCSS
$custom: #222a36;
$custom-light: #5d636d;
$custom-dark: #000000;
JSON
{
  "hex": "#222a36",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 54
  },
  "hsl": {
    "h": 216,
    "s": 22.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28276,
    "c": 0.02492,
    "h": 258.4
  },
  "luminance": 0.02262
}

Semantic roles & 50–950 ramp

primary
#222A36
secondary
#685D4C
accent
#9D69BF
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#040507
muted
#79797A

Preview Lab

Preview with #222A36

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

Preview Lab → · Contrast checker → · Palette generator →

#222A36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva