#22169F#22169F

#22169F is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.7% C 0.201 H 272.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#22169F
RGBrgb(34, 22, 159)
HSLhsl(245, 76%, 35%)
HSVhsv(245, 86%, 62%)
CMYKcmyk(78.6%, 86.2%, 0%, 37.6%)
CIE-LABlab(21.64, 49.35, -69.55)
CIE-LCHlch(21.64, 85.28, 305.36°)
OKLaboklab(34.65% 0.008 -0.2011)
OKLCHoklch(34.65% 0.201 272.3)
XYZxyz(7.2025, 3.4163, 33.0740)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22169F #939F16
analogous
#164F9F #22169F #66169F
triadic
#22169F #9F2216 #169F22
tetradic
#22169F #9F164F #939F16 #169F66
square
#22169F #9F164F #939F16 #169F66
split-complementary
#22169F #9F6616 #4F9F16
monochromatic
#0B0733 #170F69 #22169F #2D1DD5 #574AE6

Accessibility & contrast

On white

12.47
#22169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#22169F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22169F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22169F#FFFFFF#000000##FFFFFF
##22169F1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002D9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #22169f;
/* rgb */ color: rgb(34, 22, 159);
/* oklch */ color: oklch(34.7% 0.201 272.3);
Tailwind
colors: {
  custom: {
    50: '#7559bd',
    500: '#22169f',
    950: '#000000',
  },
}
SCSS
$custom: #22169f;
$custom-light: #7559bd;
$custom-dark: #000000;
JSON
{
  "hex": "#22169f",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 245.255,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34653,
    "c": 0.2013,
    "h": 272.3
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#22169F
secondary
#BCC74A
accent
#F236E2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #22169F

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

Preview Lab → · Contrast checker → · Palette generator →

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