#22249C#22249C

#22249C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.186 H 271.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#22249C
RGBrgb(34, 36, 156)
HSLhsl(239, 64%, 37%)
HSVhsv(239, 78%, 61%)
CMYKcmyk(78.2%, 76.9%, 0%, 38.8%)
CIE-LABlab(23.68, 41.42, -64.34)
CIE-LCHlch(23.68, 76.51, 302.77°)
OKLaboklab(35.97% 0.0045 -0.1863)
OKLCHoklch(35.97% 0.186 271.4)
XYZxyz(7.2893, 4.0013, 31.8342)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22249C #9C9A22
analogous
#22619C #22249C #5D229C
triadic
#22249C #9C2224 #249C22
tetradic
#22249C #9C2261 #9C9A22 #229C5D
square
#22249C #9C2261 #9C9A22 #229C5D
split-complementary
#22249C #9C5D22 #619C22
monochromatic
#0C0D38 #17186A #22249C #2D30CE #5D5FDC

Accessibility & contrast

On white

11.66
#22249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#22249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22249C
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22249C#FFFFFF#000000##FFFFFF
##22249C1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #22249c;
/* rgb */ color: rgb(34, 36, 156);
/* oklch */ color: oklch(36.0% 0.186 271.4);
Tailwind
colors: {
  custom: {
    50: '#7361ba',
    500: '#22249c',
    950: '#000000',
  },
}
SCSS
$custom: #22249c;
$custom-light: #7361ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22249c",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 239.016,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35968,
    "c": 0.18632,
    "h": 271.4
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22249C

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

Preview Lab → · Contrast checker → · Palette generator →

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