#2220A6#2220A6

#2220A6 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.6% C 0.202 H 271.1°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2220A6
RGBrgb(34, 32, 166)
HSLhsl(241, 68%, 39%)
HSVhsv(241, 81%, 65%)
CMYKcmyk(79.5%, 80.7%, 0%, 34.9%)
CIE-LABlab(24.08, 46.87, -69.75)
CIE-LCHlch(24.08, 84.04, 303.90°)
OKLaboklab(36.59% 0.0038 -0.2019)
OKLCHoklch(36.59% 0.202 271.1)
XYZxyz(8.0568, 4.1254, 36.4407)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2220A6 #A4A620
analogous
#2061A6 #2220A6 #6520A6
triadic
#2220A6 #A62220 #20A622
tetradic
#2220A6 #A62061 #A4A620 #20A665
square
#2220A6 #A62061 #A4A620 #20A665
split-complementary
#2220A6 #A66520 #61A620
monochromatic
#0D0C3F #171673 #2220A6 #2F2DD6 #6260E0

Accessibility & contrast

On white

11.51
#2220A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2220A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2220A6#FFFFFF#000000##FFFFFF
##2220A61.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0032A4
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2220a6;
/* rgb */ color: rgb(34, 32, 166);
/* oklch */ color: oklch(36.6% 0.202 271.1);
Tailwind
colors: {
  custom: {
    50: '#765fc2',
    500: '#2220a6',
    950: '#000000',
  },
}
SCSS
$custom: #2220a6;
$custom-light: #765fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2220a6",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 240.896,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.36589,
    "c": 0.20197,
    "h": 271.1
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#2220A6
secondary
#C4C55D
accent
#EB3DE8
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2220A6

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

Preview Lab → · Contrast checker → · Palette generator →

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