#2219A1#2219A1

#2219A1 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.2% C 0.202 H 271.9°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#2219A1
RGBrgb(34, 25, 161)
HSLhsl(244, 73%, 36%)
HSVhsv(244, 84%, 63%)
CMYKcmyk(78.9%, 84.5%, 0%, 36.9%)
CIE-LABlab(22.33, 48.65, -69.62)
CIE-LCHlch(22.33, 84.94, 304.95°)
OKLaboklab(35.2% 0.0068 -0.2014)
OKLCHoklch(35.2% 0.202 271.9)
XYZxyz(7.4382, 3.6077, 34.0156)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2219A1 #98A119
analogous
#1954A1 #2219A1 #6619A1
triadic
#2219A1 #A12219 #19A122
tetradic
#2219A1 #A11954 #98A119 #19A166
square
#2219A1 #A11954 #98A119 #19A166
split-complementary
#2219A1 #A16619 #54A119
monochromatic
#0C0937 #17116C #2219A1 #2D21D6 #5A50E4

Accessibility & contrast

On white

12.20
#2219A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2219A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2219A1
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2219A1#FFFFFF#000000##FFFFFF
##2219A11.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#002F9F
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2219a1;
/* rgb */ color: rgb(34, 25, 161);
/* oklch */ color: oklch(35.2% 0.202 271.9);
Tailwind
colors: {
  custom: {
    50: '#765bbe',
    500: '#2219a1',
    950: '#000000',
  },
}
SCSS
$custom: #2219a1;
$custom-light: #765bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2219a1",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 243.971,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35199,
    "c": 0.20153,
    "h": 271.9
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#2219A1
secondary
#BEC64F
accent
#F038E4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2219A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2219A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva