#222434#222434

#222434 is a dark, muted blue. Relative luminance 0.018; OKLCH L 26.6% C 0.030 H 278.6°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#222434
RGBrgb(34, 36, 52)
HSLhsl(233, 21%, 17%)
HSVhsv(233, 35%, 20%)
CMYKcmyk(34.6%, 30.8%, 0%, 79.6%)
CIE-LABlab(14.68, 3.71, -10.73)
CIE-LCHlch(14.68, 11.35, 289.07°)
OKLaboklab(26.58% 0.0045 -0.0296)
OKLCHoklch(26.58% 0.03 278.6)
XYZxyz(1.9102, 1.8497, 3.5045)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222434 #343222
analogous
#222D34 #222434 #292234
triadic
#222434 #342224 #243422
tetradic
#222434 #34222D #343222 #223429
square
#222434 #34222D #343222 #223429
split-complementary
#222434 #342922 #2D3422
monochromatic
#0C0D13 #0C0D13 #222434 #3A3E59 #52577E

Accessibility & contrast

On white

15.33
#222434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#222434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222434
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222434#FFFFFF#000000##FFFFFF
##2224341.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2635
Deuteranopia (green-blind)
#1E2434
Tritanopia (blue-blind)
#1D272A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #222434;
/* rgb */ color: rgb(34, 36, 52);
/* oklch */ color: oklch(26.6% 0.030 278.6);
Tailwind
colors: {
  custom: {
    50: '#5d5e6b',
    500: '#222434',
    950: '#000000',
  },
}
SCSS
$custom: #222434;
$custom-light: #5d5e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#222434",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 52
  },
  "hsl": {
    "h": 233.333,
    "s": 20.93,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26583,
    "c": 0.02999,
    "h": 278.6
  },
  "luminance": 0.0185
}

Semantic roles & 50–950 ramp

primary
#222434
secondary
#66634C
accent
#B46ABD
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #222434

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

Preview Lab → · Contrast checker → · Palette generator →

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