#2822A3#2822A3

#2822A3 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.195 H 273.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#2822A3
RGBrgb(40, 34, 163)
HSLhsl(243, 65%, 39%)
HSVhsv(243, 79%, 64%)
CMYKcmyk(75.5%, 79.1%, 0%, 36.1%)
CIE-LABlab(24.45, 45.30, -67.32)
CIE-LCHlch(24.45, 81.14, 303.94°)
OKLaboklab(36.84% 0.011 -0.1948)
OKLCHoklch(36.84% 0.195 273.2)
XYZxyz(8.0558, 4.2387, 35.0368)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2822A3 #9DA322
analogous
#225CA3 #2822A3 #6822A3
triadic
#2822A3 #A32822 #22A328
tetradic
#2822A3 #A3225C #9DA322 #22A368
square
#2822A3 #A3225C #9DA322 #22A368
split-complementary
#2822A3 #A36822 #5CA322
monochromatic
#0F0D3E #1C1770 #2822A3 #362FD4 #6761DE

Accessibility & contrast

On white

11.36
#2822A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2822A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2822A3
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2822A3#FFFFFF#000000##FFFFFF
##2822A31.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A7
Deuteranopia (green-blind)
#0034A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2822a3;
/* rgb */ color: rgb(40, 34, 163);
/* oklch */ color: oklch(36.8% 0.195 273.2);
Tailwind
colors: {
  custom: {
    50: '#7760c0',
    500: '#2822a3',
    950: '#000000',
  },
}
SCSS
$custom: #2822a3;
$custom-light: #7760c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2822a3",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 242.791,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36837,
    "c": 0.19509,
    "h": 273.2
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#2822A3
secondary
#BEC35E
accent
#E83FE1
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2822A3

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

Preview Lab → · Contrast checker → · Palette generator →

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