#2822AC#2822AC

#2822AC is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.9% C 0.206 H 272.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2822AC
RGBrgb(40, 34, 172)
HSLhsl(243, 67%, 40%)
HSVhsv(243, 80%, 67%)
CMYKcmyk(76.7%, 80.2%, 0%, 32.5%)
CIE-LABlab(25.48, 48.17, -71.04)
CIE-LCHlch(25.48, 85.84, 304.14°)
OKLaboklab(37.86% 0.009 -0.2056)
OKLCHoklch(37.86% 0.206 272.5)
XYZxyz(8.8910, 4.5728, 39.4358)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2822AC #A6AC22
analogous
#2261AC #2822AC #6D22AC
triadic
#2822AC #AC2822 #22AC28
tetradic
#2822AC #AC2261 #A6AC22 #22AC6D
square
#2822AC #AC2261 #A6AC22 #22AC6D
split-complementary
#2822AC #AC6D22 #61AC22
monochromatic
#100E46 #1C1879 #2822AC #3B34D7 #6D67E1

Accessibility & contrast

On white

10.97
#2822AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2822AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2822AC
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2822AC#FFFFFF#000000##FFFFFF
##2822AC1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0036AA
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2822ac;
/* rgb */ color: rgb(40, 34, 172);
/* oklch */ color: oklch(37.9% 0.206 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a61c6',
    500: '#2822ac',
    950: '#000000',
  },
}
SCSS
$custom: #2822ac;
$custom-light: #7a61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2822ac",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 242.609,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37863,
    "c": 0.20578,
    "h": 272.5
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#2822AC
secondary
#C2C763
accent
#EA3EE2
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2822AC

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

Preview Lab → · Contrast checker → · Palette generator →

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