#222234#222234

#222234 is a dark, muted blue. Relative luminance 0.017; OKLCH L 26.1% C 0.034 H 283.8°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#222234
RGBrgb(34, 34, 52)
HSLhsl(240, 21%, 17%)
HSVhsv(240, 35%, 20%)
CMYKcmyk(34.6%, 34.6%, 0%, 79.6%)
CIE-LABlab(14.01, 5.17, -11.75)
CIE-LCHlch(14.01, 12.84, 293.73°)
OKLaboklab(26.07% 0.008 -0.0326)
OKLCHoklch(26.07% 0.034 283.8)
XYZxyz(1.8514, 1.7320, 3.4849)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222234 #343422
analogous
#222B34 #222234 #2B2234
triadic
#222234 #342222 #223422
tetradic
#222234 #34222B #343422 #22342B
square
#222234 #34222B #343422 #22342B
split-complementary
#222234 #342B22 #2B3422
monochromatic
#0C0C13 #0C0C13 #222234 #3A3A59 #52527E

Accessibility & contrast

On white

15.60
#222234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#222234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222234
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222234#FFFFFF#000000##FFFFFF
##2222341.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2435
Deuteranopia (green-blind)
#1C2334
Tritanopia (blue-blind)
#1E2528
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #222234;
/* rgb */ color: rgb(34, 34, 52);
/* oklch */ color: oklch(26.1% 0.034 283.8);
Tailwind
colors: {
  custom: {
    50: '#5d5c6b',
    500: '#222234',
    950: '#000000',
  },
}
SCSS
$custom: #222234;
$custom-light: #5d5c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#222234",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 52
  },
  "hsl": {
    "h": 240,
    "s": 20.93,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26068,
    "c": 0.03355,
    "h": 283.8
  },
  "luminance": 0.01732
}

Semantic roles & 50–950 ramp

primary
#222234
secondary
#66664C
accent
#BD6ABD
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #222234

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

Preview Lab → · Contrast checker → · Palette generator →

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