#2221B0#2221B0

#2221B0 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.9% C 0.213 H 270.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2221B0
RGBrgb(34, 33, 176)
HSLhsl(240, 68%, 41%)
HSVhsv(240, 81%, 69%)
CMYKcmyk(80.7%, 81.3%, 0%, 31%)
CIE-LABlab(25.45, 49.56, -73.51)
CIE-LCHlch(25.45, 88.66, 303.99°)
OKLaboklab(37.89% 0.0014 -0.2128)
OKLCHoklch(37.89% 0.213 270.4)
XYZxyz(9.0374, 4.5613, 41.4700)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2221B0 #AFB021
analogous
#2167B0 #2221B0 #6921B0
triadic
#2221B0 #B02221 #21B022
tetradic
#2221B0 #B02167 #AFB021 #21B069
square
#2221B0 #B02167 #AFB021 #21B069
split-complementary
#2221B0 #B06921 #67B021
monochromatic
#0E0E49 #18177C #2221B0 #3635D9 #6969E3

Accessibility & contrast

On white

10.98
#2221B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2221B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2221B0
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2221B0#FFFFFF#000000##FFFFFF
##2221B01.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B4
Deuteranopia (green-blind)
#0035AE
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2221b0;
/* rgb */ color: rgb(34, 33, 176);
/* oklch */ color: oklch(37.9% 0.213 270.4);
Tailwind
colors: {
  custom: {
    50: '#7960c9',
    500: '#2221b0',
    950: '#000000',
  },
}
SCSS
$custom: #2221b0;
$custom-light: #7960c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2221b0",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 176
  },
  "hsl": {
    "h": 240.42,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.37885,
    "c": 0.21283,
    "h": 270.4
  },
  "luminance": 0.04562
}

Semantic roles & 50–950 ramp

primary
#2221B0
secondary
#C8C864
accent
#EB3DEA
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2221B0

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

Preview Lab → · Contrast checker → · Palette generator →

#2221B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva