#2820AA#2820AA

#2820AA is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.4% C 0.205 H 272.8°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#2820AA
RGBrgb(40, 32, 170)
HSLhsl(243, 68%, 40%)
HSVhsv(243, 81%, 67%)
CMYKcmyk(76.5%, 81.2%, 0%, 33.3%)
CIE-LABlab(24.91, 48.54, -70.79)
CIE-LCHlch(24.91, 85.83, 304.44°)
OKLaboklab(37.4% 0.0101 -0.2048)
OKLCHoklch(37.4% 0.205 272.8)
XYZxyz(8.6449, 4.3855, 38.4133)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2820AA #A2AA20
analogous
#205DAA #2820AA #6D20AA
triadic
#2820AA #AA2820 #20AA28
tetradic
#2820AA #AA205D #A2AA20 #20AA6D
square
#2820AA #AA205D #A2AA20 #20AA6D
split-complementary
#2820AA #AA6D20 #5DAA20
monochromatic
#100D43 #1C1676 #2820AA #392FD8 #6A63E2

Accessibility & contrast

On white

11.19
#2820AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2820AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2820AA
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2820AA#FFFFFF#000000##FFFFFF
##2820AA1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0034A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2820aa;
/* rgb */ color: rgb(40, 32, 170);
/* oklch */ color: oklch(37.4% 0.205 272.8);
Tailwind
colors: {
  custom: {
    50: '#795fc5',
    500: '#2820aa',
    950: '#000000',
  },
}
SCSS
$custom: #2820aa;
$custom-light: #795fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2820aa",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 243.478,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37395,
    "c": 0.20507,
    "h": 272.8
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#2820AA
secondary
#C1C75F
accent
#EB3DE1
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2820AA

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

Preview Lab → · Contrast checker → · Palette generator →

#2820AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva