#22249A#22249A

#22249A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.184 H 271.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#22249A
RGBrgb(34, 36, 154)
HSLhsl(239, 64%, 37%)
HSVhsv(239, 78%, 60%)
CMYKcmyk(77.9%, 76.6%, 0%, 39.6%)
CIE-LABlab(23.45, 40.73, -63.48)
CIE-LCHlch(23.45, 75.42, 302.69°)
OKLaboklab(35.74% 0.0049 -0.1838)
OKLCHoklch(35.74% 0.184 271.5)
XYZxyz(7.1213, 3.9342, 30.9496)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22249A #9A9822
analogous
#22609A #22249A #5C229A
triadic
#22249A #9A2224 #249A22
tetradic
#22249A #9A2260 #9A9822 #229A5C
square
#22249A #9A2260 #9A9822 #229A5C
split-complementary
#22249A #9A5C22 #609A22
monochromatic
#0C0D36 #171868 #22249A #2D30CC #5B5EDB

Accessibility & contrast

On white

11.75
#22249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#22249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22249A
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22249A#FFFFFF#000000##FFFFFF
##22249A1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #22249a;
/* rgb */ color: rgb(34, 36, 154);
/* oklch */ color: oklch(35.7% 0.184 271.5);
Tailwind
colors: {
  custom: {
    50: '#7360b9',
    500: '#22249a',
    950: '#000000',
  },
}
SCSS
$custom: #22249a;
$custom-light: #7360b9;
$custom-dark: #000000;
JSON
{
  "hex": "#22249a",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 239,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35744,
    "c": 0.18385,
    "h": 271.5
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#22249A
secondary
#BFBE58
accent
#E441E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22249A

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

Preview Lab → · Contrast checker → · Palette generator →

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