#2822A0#2822A0

#2822A0 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.191 H 273.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2822A0
RGBrgb(40, 34, 160)
HSLhsl(243, 65%, 38%)
HSVhsv(243, 79%, 63%)
CMYKcmyk(75%, 78.8%, 0%, 37.3%)
CIE-LABlab(24.10, 44.33, -66.06)
CIE-LCHlch(24.10, 79.55, 303.86°)
OKLaboklab(36.5% 0.0117 -0.1911)
OKLCHoklch(36.5% 0.191 273.5)
XYZxyz(7.7901, 4.1324, 33.6380)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2822A0 #9AA022
analogous
#225BA0 #2822A0 #6722A0
triadic
#2822A0 #A02822 #22A028
tetradic
#2822A0 #A0225B #9AA022 #22A067
square
#2822A0 #A0225B #9AA022 #22A067
split-complementary
#2822A0 #A06722 #5BA022
monochromatic
#0F0D3B #1B176E #2822A0 #352DD2 #655FDD

Accessibility & contrast

On white

11.50
#2822A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2822A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2822A0
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2822A0#FFFFFF#000000##FFFFFF
##2822A01.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2822a0;
/* rgb */ color: rgb(40, 34, 160);
/* oklch */ color: oklch(36.5% 0.191 273.5);
Tailwind
colors: {
  custom: {
    50: '#7760bd',
    500: '#2822a0',
    950: '#000000',
  },
}
SCSS
$custom: #2822a0;
$custom-light: #7760bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2822a0",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 242.857,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36499,
    "c": 0.19148,
    "h": 273.5
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#2822A0
secondary
#BDC25C
accent
#E840E0
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2822A0

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

Preview Lab → · Contrast checker → · Palette generator →

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