#22223C#22223C

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

Color values

HEX#22223C
RGBrgb(34, 34, 60)
HSLhsl(240, 28%, 18%)
HSVhsv(240, 43%, 24%)
CMYKcmyk(43.3%, 43.3%, 0%, 76.5%)
CIE-LABlab(14.46, 7.83, -16.71)
CIE-LCHlch(14.46, 18.46, 295.09°)
OKLaboklab(26.56% 0.0105 -0.0469)
OKLCHoklch(26.56% 0.048 282.6)
XYZxyz(2.0471, 1.8103, 4.5157)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22223C #3C3C22
analogous
#222F3C #22223C #2F223C
triadic
#22223C #3C2222 #223C22
tetradic
#22223C #3C222F #3C3C22 #223C2F
square
#22223C #3C222F #3C3C22 #223C2F
split-complementary
#22223C #3C2F22 #2F3C22
monochromatic
#0B0B14 #0C0C15 #22223C #383863 #4E4E8A

Accessibility & contrast

On white

15.42
#22223C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#22223C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22223C
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22223C#FFFFFF#000000##FFFFFF
##22223C1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19253D
Deuteranopia (green-blind)
#18243B
Tritanopia (blue-blind)
#1B272C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #22223c;
/* rgb */ color: rgb(34, 34, 60);
/* oklch */ color: oklch(26.6% 0.048 282.6);
Tailwind
colors: {
  custom: {
    50: '#5e5c72',
    500: '#22223c',
    950: '#000000',
  },
}
SCSS
$custom: #22223c;
$custom-light: #5e5c72;
$custom-dark: #000000;
JSON
{
  "hex": "#22223c",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 240,
    "s": 27.66,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26557,
    "c": 0.04805,
    "h": 282.6
  },
  "luminance": 0.0181
}

Semantic roles & 50–950 ramp

primary
#22223C
secondary
#6F6F4B
accent
#C464C4
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040408
muted
#79797B

Preview Lab

Preview with #22223C

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

Preview Lab → · Contrast checker → · Palette generator →

#22223C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva