#2220BA#2220BA

#2220BA is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 39.0% C 0.225 H 269.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2220BA
RGBrgb(34, 32, 186)
HSLhsl(241, 71%, 43%)
HSVhsv(241, 83%, 73%)
CMYKcmyk(81.7%, 82.8%, 0%, 27.1%)
CIE-LABlab(26.50, 53.15, -77.73)
CIE-LCHlch(26.50, 94.17, 304.36°)
OKLaboklab(38.96% -0.0005 -0.225)
OKLCHoklch(38.96% 0.225 269.9)
XYZxyz(10.0361, 4.9171, 46.8650)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2220BA #B8BA20
analogous
#206BBA #2220BA #6F20BA
triadic
#2220BA #BA2220 #20BA22
tetradic
#2220BA #BA206B #B8BA20 #20BA6F
square
#2220BA #BA206B #B8BA20 #20BA6F
split-complementary
#2220BA #BA6F20 #6BBA20
monochromatic
#0F0E52 #181786 #2220BA #3C3ADD #706EE6

Accessibility & contrast

On white

10.59
#2220BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2220BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2220BA
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2220BA#FFFFFF#000000##FFFFFF
##2220BA1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046BE
Deuteranopia (green-blind)
#0036B7
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2220ba;
/* rgb */ color: rgb(34, 32, 186);
/* oklch */ color: oklch(39.0% 0.225 269.9);
Tailwind
colors: {
  custom: {
    50: '#7b60d0',
    500: '#2220ba',
    950: '#000000',
  },
}
SCSS
$custom: #2220ba;
$custom-light: #7b60d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2220ba",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 186
  },
  "hsl": {
    "h": 240.779,
    "s": 70.642,
    "l": 42.745
  },
  "oklch": {
    "l": 0.38961,
    "c": 0.22503,
    "h": 269.9
  },
  "luminance": 0.04918
}

Semantic roles & 50–950 ramp

primary
#2220BA
secondary
#CBCC69
accent
#ED3AEB
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2220BA

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

Preview Lab → · Contrast checker → · Palette generator →

#2220BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva