#22216F#22216F

#22216F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.130 H 276.0°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#22216F
RGBrgb(34, 33, 111)
HSLhsl(241, 54%, 28%)
HSVhsv(241, 70%, 44%)
CMYKcmyk(69.4%, 70.3%, 0%, 56.5%)
CIE-LABlab(18.25, 27.30, -44.96)
CIE-LCHlch(18.25, 52.60, 301.27°)
OKLaboklab(30.67% 0.0137 -0.1298)
OKLCHoklch(30.67% 0.13 276)
XYZxyz(4.0718, 2.5751, 15.3183)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22216F #6E6F21
analogous
#21476F #22216F #49216F
triadic
#22216F #6F2221 #216F22
tetradic
#22216F #6F2147 #6E6F21 #216F49
square
#22216F #6F2147 #6E6F21 #216F49
split-complementary
#22216F #6F4921 #476F21
monochromatic
#070718 #141340 #22216F #302F9E #4543C7

Accessibility & contrast

On white

13.86
#22216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#22216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22216F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22216F#FFFFFF#000000##FFFFFF
##22216F1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #22216f;
/* rgb */ color: rgb(34, 33, 111);
/* oklch */ color: oklch(30.7% 0.130 276.0);
Tailwind
colors: {
  custom: {
    50: '#685d99',
    500: '#22216f',
    950: '#000000',
  },
}
SCSS
$custom: #22216f;
$custom-light: #685d99;
$custom-dark: #000000;
JSON
{
  "hex": "#22216f",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 240.769,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30667,
    "c": 0.13048,
    "h": 276
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#22216F
secondary
#A1A349
accent
#DE4ADC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #22216F

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

Preview Lab → · Contrast checker → · Palette generator →

#22216F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva