#2220B1#2220B1

#2220B1 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.9% C 0.215 H 270.4°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2220B1
RGBrgb(34, 32, 177)
HSLhsl(241, 69%, 41%)
HSVhsv(241, 82%, 69%)
CMYKcmyk(80.8%, 81.9%, 0%, 30.6%)
CIE-LABlab(25.40, 50.36, -74.19)
CIE-LCHlch(25.40, 89.67, 304.17°)
OKLaboklab(37.89% 0.0014 -0.2148)
OKLCHoklch(37.89% 0.215 270.4)
XYZxyz(9.1093, 4.5464, 41.9839)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2220B1 #AFB120
analogous
#2066B1 #2220B1 #6A20B1
triadic
#2220B1 #B12220 #20B122
tetradic
#2220B1 #B12066 #AFB120 #20B16A
square
#2220B1 #B12066 #AFB120 #20B16A
split-complementary
#2220B1 #B16A20 #66B120
monochromatic
#0E0D49 #18177D #2220B1 #3634DA #6968E4

Accessibility & contrast

On white

11.00
#2220B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2220B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2220B1
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2220B1#FFFFFF#000000##FFFFFF
##2220B11.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B5
Deuteranopia (green-blind)
#0035AF
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2220b1;
/* rgb */ color: rgb(34, 32, 177);
/* oklch */ color: oklch(37.9% 0.215 270.4);
Tailwind
colors: {
  custom: {
    50: '#7960ca',
    500: '#2220b1',
    950: '#000000',
  },
}
SCSS
$custom: #2220b1;
$custom-light: #7960ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2220b1",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 177
  },
  "hsl": {
    "h": 240.828,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.37888,
    "c": 0.21477,
    "h": 270.4
  },
  "luminance": 0.04547
}

Semantic roles & 50–950 ramp

primary
#2220B1
secondary
#C8C964
accent
#EC3CEA
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2220B1

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

Preview Lab → · Contrast checker → · Palette generator →

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