#2221BD#2221BD

#2221BD is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.4% C 0.228 H 269.7°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2221BD
RGBrgb(34, 33, 189)
HSLhsl(240, 70%, 44%)
HSVhsv(240, 83%, 74%)
CMYKcmyk(82%, 82.5%, 0%, 25.9%)
CIE-LABlab(27.02, 53.61, -78.64)
CIE-LCHlch(27.02, 95.18, 304.28°)
OKLaboklab(39.43% -0.0013 -0.2277)
OKLCHoklch(39.43% 0.228 269.7)
XYZxyz(10.3857, 5.1007, 48.5714)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2221BD #BCBD21
analogous
#216EBD #2221BD #7021BD
triadic
#2221BD #BD2221 #21BD22
tetradic
#2221BD #BD216E #BCBD21 #21BD70
square
#2221BD #BD216E #BCBD21 #21BD70
split-complementary
#2221BD #BD7021 #6EBD21
monochromatic
#0F0F55 #191889 #2221BD #3F3EDD #7372E6

Accessibility & contrast

On white

10.39
#2221BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2221BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2221BD
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2221BD#FFFFFF#000000##FFFFFF
##2221BD1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C1
Deuteranopia (green-blind)
#0037BA
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2221bd;
/* rgb */ color: rgb(34, 33, 189);
/* oklch */ color: oklch(39.4% 0.228 269.7);
Tailwind
colors: {
  custom: {
    50: '#7c61d2',
    500: '#2221bd',
    950: '#000000',
  },
}
SCSS
$custom: #2221bd;
$custom-light: #7c61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2221bd",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 240.385,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.39428,
    "c": 0.22768,
    "h": 269.7
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#2221BD
secondary
#CDCD6D
accent
#ED3BEC
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2221BD

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

Preview Lab → · Contrast checker → · Palette generator →

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