#22249D#22249D

#22249D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.188 H 271.3°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#22249D
RGBrgb(34, 36, 157)
HSLhsl(239, 64%, 37%)
HSVhsv(239, 78%, 62%)
CMYKcmyk(78.3%, 77.1%, 0%, 38.4%)
CIE-LABlab(23.79, 41.76, -64.76)
CIE-LCHlch(23.79, 77.06, 302.81°)
OKLaboklab(36.08% 0.0043 -0.1875)
OKLCHoklch(36.08% 0.188 271.3)
XYZxyz(7.3743, 4.0353, 32.2820)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22249D #9D9B22
analogous
#22629D #22249D #5D229D
triadic
#22249D #9D2224 #249D22
tetradic
#22249D #9D2262 #9D9B22 #229D5D
square
#22249D #9D2262 #9D9B22 #229D5D
split-complementary
#22249D #9D5D22 #629D22
monochromatic
#0C0D38 #17186B #22249D #2D30CF #5D5FDC

Accessibility & contrast

On white

11.62
#22249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#22249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22249D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22249D#FFFFFF#000000##FFFFFF
##22249D1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00329B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22249d;
/* rgb */ color: rgb(34, 36, 157);
/* oklch */ color: oklch(36.1% 0.188 271.3);
Tailwind
colors: {
  custom: {
    50: '#7461bb',
    500: '#22249d',
    950: '#000000',
  },
}
SCSS
$custom: #22249d;
$custom-light: #7461bb;
$custom-dark: #000000;
JSON
{
  "hex": "#22249d",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 239.024,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3608,
    "c": 0.18756,
    "h": 271.3
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#22249D
secondary
#C1BF5A
accent
#E540E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22249D

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

Preview Lab → · Contrast checker → · Palette generator →

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