#2822AF#2822AF

#2822AF is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.209 H 272.3°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2822AF
RGBrgb(40, 34, 175)
HSLhsl(243, 67%, 41%)
HSVhsv(243, 81%, 69%)
CMYKcmyk(77.1%, 80.6%, 0%, 31.4%)
CIE-LABlab(25.83, 49.12, -72.27)
CIE-LCHlch(25.83, 87.38, 304.20°)
OKLaboklab(38.21% 0.0083 -0.2091)
OKLCHoklch(38.21% 0.209 272.3)
XYZxyz(9.1824, 4.6893, 40.9703)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2822AF #A9AF22
analogous
#2262AF #2822AF #6E22AF
triadic
#2822AF #AF2822 #22AF28
tetradic
#2822AF #AF2262 #A9AF22 #22AF6E
square
#2822AF #AF2262 #A9AF22 #22AF6E
split-complementary
#2822AF #AF6E22 #62AF22
monochromatic
#110E49 #1C187C #2822AF #3D36D8 #6F69E2

Accessibility & contrast

On white

10.84
#2822AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2822AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2822AF
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2822AF#FFFFFF#000000##FFFFFF
##2822AF1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B3
Deuteranopia (green-blind)
#0036AD
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2822af;
/* rgb */ color: rgb(40, 34, 175);
/* oklch */ color: oklch(38.2% 0.209 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a61c8',
    500: '#2822af',
    950: '#000000',
  },
}
SCSS
$custom: #2822af;
$custom-light: #7a61c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2822af",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 242.553,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38208,
    "c": 0.20929,
    "h": 272.3
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#2822AF
secondary
#C4C865
accent
#EA3DE3
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2822AF

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

Preview Lab → · Contrast checker → · Palette generator →

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