#2822B0#2822B0

#2822B0 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.210 H 272.2°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2822B0
RGBrgb(40, 34, 176)
HSLhsl(243, 68%, 41%)
HSVhsv(243, 81%, 69%)
CMYKcmyk(77.3%, 80.7%, 0%, 31%)
CIE-LABlab(25.95, 49.43, -72.67)
CIE-LCHlch(25.95, 87.89, 304.22°)
OKLaboklab(38.32% 0.008 -0.2103)
OKLCHoklch(38.32% 0.21 272.2)
XYZxyz(9.2809, 4.7288, 41.4895)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2822B0 #AAB022
analogous
#2263B0 #2822B0 #6F22B0
triadic
#2822B0 #B02822 #22B028
tetradic
#2822B0 #B02263 #AAB022 #22B06F
square
#2822B0 #B02263 #AAB022 #22B06F
split-complementary
#2822B0 #B06F22 #63B022
monochromatic
#110E49 #1C187D #2822B0 #3E37D8 #6F6AE2

Accessibility & contrast

On white

10.79
#2822B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2822B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2822B0
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2822B0#FFFFFF#000000##FFFFFF
##2822B01.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B4
Deuteranopia (green-blind)
#0036AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2822b0;
/* rgb */ color: rgb(40, 34, 176);
/* oklch */ color: oklch(38.3% 0.210 272.2);
Tailwind
colors: {
  custom: {
    50: '#7b61c9',
    500: '#2822b0',
    950: '#000000',
  },
}
SCSS
$custom: #2822b0;
$custom-light: #7b61c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2822b0",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 242.535,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38323,
    "c": 0.21046,
    "h": 272.2
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2822B0

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

Preview Lab → · Contrast checker → · Palette generator →

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