#22249B#22249B

#22249B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.185 H 271.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#22249B
RGBrgb(34, 36, 155)
HSLhsl(239, 64%, 37%)
HSVhsv(239, 78%, 61%)
CMYKcmyk(78.1%, 76.8%, 0%, 39.2%)
CIE-LABlab(23.56, 41.07, -63.91)
CIE-LCHlch(23.56, 75.97, 302.73°)
OKLaboklab(35.86% 0.0047 -0.185)
OKLCHoklch(35.86% 0.185 271.5)
XYZxyz(7.2050, 3.9676, 31.3901)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22249B #9B9922
analogous
#22619B #22249B #5C229B
triadic
#22249B #9B2224 #249B22
tetradic
#22249B #9B2261 #9B9922 #229B5C
square
#22249B #9B2261 #9B9922 #229B5C
split-complementary
#22249B #9B5C22 #619B22
monochromatic
#0C0D37 #171869 #22249B #2D30CD #5C5EDB

Accessibility & contrast

On white

11.71
#22249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22249B
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22249B#FFFFFF#000000##FFFFFF
##22249B1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #22249b;
/* rgb */ color: rgb(34, 36, 155);
/* oklch */ color: oklch(35.9% 0.185 271.5);
Tailwind
colors: {
  custom: {
    50: '#7360ba',
    500: '#22249b',
    950: '#000000',
  },
}
SCSS
$custom: #22249b;
$custom-light: #7360ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22249b",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 239.008,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35856,
    "c": 0.18509,
    "h": 271.5
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22249B

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

Preview Lab → · Contrast checker → · Palette generator →

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