#2220AA#2220AA

#2220AA is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.207 H 270.8°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2220AA
RGBrgb(34, 32, 170)
HSLhsl(241, 68%, 40%)
HSVhsv(241, 81%, 67%)
CMYKcmyk(80%, 81.2%, 0%, 33.3%)
CIE-LABlab(24.56, 48.15, -71.38)
CIE-LCHlch(24.56, 86.10, 304.00°)
OKLaboklab(37.06% 0.003 -0.2066)
OKLCHoklch(37.06% 0.207 270.8)
XYZxyz(8.4294, 4.2744, 38.4032)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2220AA #A8AA20
analogous
#2063AA #2220AA #6720AA
triadic
#2220AA #AA2220 #20AA22
tetradic
#2220AA #AA2063 #A8AA20 #20AA67
square
#2220AA #AA2063 #A8AA20 #20AA67
split-complementary
#2220AA #AA6720 #63AA20
monochromatic
#0D0D43 #181676 #2220AA #322FD8 #6563E2

Accessibility & contrast

On white

11.32
#2220AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2220AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2220AA#FFFFFF#000000##FFFFFF
##2220AA1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AE
Deuteranopia (green-blind)
#0033A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2220aa;
/* rgb */ color: rgb(34, 32, 170);
/* oklch */ color: oklch(37.1% 0.207 270.8);
Tailwind
colors: {
  custom: {
    50: '#775fc5',
    500: '#2220aa',
    950: '#000000',
  },
}
SCSS
$custom: #2220aa;
$custom-light: #775fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2220aa",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 240.87,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3706,
    "c": 0.20666,
    "h": 270.8
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#2220AA
secondary
#C5C75F
accent
#EB3DE9
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2220AA

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

Preview Lab → · Contrast checker → · Palette generator →

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