#2822AD#2822AD

#2822AD is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.207 H 272.4°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2822AD
RGBrgb(40, 34, 173)
HSLhsl(243, 67%, 41%)
HSVhsv(243, 80%, 68%)
CMYKcmyk(76.9%, 80.3%, 0%, 32.2%)
CIE-LABlab(25.60, 48.49, -71.45)
CIE-LCHlch(25.60, 86.35, 304.16°)
OKLaboklab(37.98% 0.0087 -0.2068)
OKLCHoklch(37.98% 0.207 272.4)
XYZxyz(8.9874, 4.6113, 39.9435)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2822AD #A7AD22
analogous
#2261AD #2822AD #6D22AD
triadic
#2822AD #AD2822 #22AD28
tetradic
#2822AD #AD2261 #A7AD22 #22AD6D
square
#2822AD #AD2261 #A7AD22 #22AD6D
split-complementary
#2822AD #AD6D22 #61AD22
monochromatic
#100E47 #1C187A #2822AD #3C35D7 #6D68E1

Accessibility & contrast

On white

10.92
#2822AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2822AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2822AD
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2822AD#FFFFFF#000000##FFFFFF
##2822AD1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B1
Deuteranopia (green-blind)
#0036AB
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2822ad;
/* rgb */ color: rgb(40, 34, 173);
/* oklch */ color: oklch(38.0% 0.207 272.4);
Tailwind
colors: {
  custom: {
    50: '#7a61c7',
    500: '#2822ad',
    950: '#000000',
  },
}
SCSS
$custom: #2822ad;
$custom-light: #7a61c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2822ad",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 242.59,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.37978,
    "c": 0.20695,
    "h": 272.4
  },
  "luminance": 0.04612
}

Semantic roles & 50–950 ramp

primary
#2822AD
secondary
#C3C764
accent
#EA3EE3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2822AD

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

Preview Lab → · Contrast checker → · Palette generator →

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