#2220AC#2220AC

#2220AC is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.3% C 0.209 H 270.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2220AC
RGBrgb(34, 32, 172)
HSLhsl(241, 69%, 40%)
HSVhsv(241, 81%, 67%)
CMYKcmyk(80.2%, 81.4%, 0%, 32.5%)
CIE-LABlab(24.80, 48.79, -72.19)
CIE-LCHlch(24.80, 87.13, 304.05°)
OKLaboklab(37.3% 0.0025 -0.209)
OKLCHoklch(37.3% 0.209 270.7)
XYZxyz(8.6201, 4.3507, 39.4072)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2220AC #AAAC20
analogous
#2064AC #2220AC #6820AC
triadic
#2220AC #AC2220 #20AC22
tetradic
#2220AC #AC2064 #AAAC20 #20AC68
square
#2220AC #AC2064 #AAAC20 #20AC68
split-complementary
#2220AC #AC6820 #64AC20
monochromatic
#0E0D45 #181678 #2220AC #3331D9 #6664E2

Accessibility & contrast

On white

11.23
#2220AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2220AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2220AC#FFFFFF#000000##FFFFFF
##2220AC1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0034AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2220ac;
/* rgb */ color: rgb(34, 32, 172);
/* oklch */ color: oklch(37.3% 0.209 270.7);
Tailwind
colors: {
  custom: {
    50: '#785fc6',
    500: '#2220ac',
    950: '#000000',
  },
}
SCSS
$custom: #2220ac;
$custom-light: #785fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2220ac",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 240.857,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.37296,
    "c": 0.209,
    "h": 270.7
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#2220AC
secondary
#C6C760
accent
#EB3CE9
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2220AC

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

Preview Lab → · Contrast checker → · Palette generator →

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