#22299A#22299A

#22299A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.179 H 270.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#22299A
RGBrgb(34, 41, 154)
HSLhsl(237, 64%, 37%)
HSVhsv(237, 78%, 60%)
CMYKcmyk(77.9%, 73.4%, 0%, 39.6%)
CIE-LABlab(24.51, 37.77, -61.74)
CIE-LCHlch(24.51, 72.38, 301.46°)
OKLaboklab(36.49% 0.0027 -0.1787)
OKLCHoklch(36.49% 0.179 270.9)
XYZxyz(7.2834, 4.2583, 31.0037)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22299A #9A9322
analogous
#22659A #22299A #57229A
triadic
#22299A #9A2229 #299A22
tetradic
#22299A #9A2265 #9A9322 #229A57
square
#22299A #9A2265 #9A9322 #229A57
split-complementary
#22299A #9A5722 #659A22
monochromatic
#0C0E36 #171C68 #22299A #2D36CC #5B63DB

Accessibility & contrast

On white

11.34
#22299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#22299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22299A
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22299A#FFFFFF#000000##FFFFFF
##22299A1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22299a;
/* rgb */ color: rgb(34, 41, 154);
/* oklch */ color: oklch(36.5% 0.179 270.9);
Tailwind
colors: {
  custom: {
    50: '#7264b9',
    500: '#22299a',
    950: '#000000',
  },
}
SCSS
$custom: #22299a;
$custom-light: #7264b9;
$custom-dark: #000000;
JSON
{
  "hex": "#22299a",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 236.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36495,
    "c": 0.17877,
    "h": 270.9
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#22299A
secondary
#BFB958
accent
#DD41E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #22299A

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

Preview Lab → · Contrast checker → · Palette generator →

#22299A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva