#2820AD#2820AD

#2820AD is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.209 H 272.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2820AD
RGBrgb(40, 32, 173)
HSLhsl(243, 69%, 40%)
HSVhsv(243, 82%, 68%)
CMYKcmyk(76.9%, 81.5%, 0%, 32.2%)
CIE-LABlab(25.26, 49.47, -72.01)
CIE-LCHlch(25.26, 87.37, 304.49°)
OKLaboklab(37.74% 0.0093 -0.2084)
OKLCHoklch(37.74% 0.209 272.6)
XYZxyz(8.9319, 4.5003, 39.9250)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2820AD #A5AD20
analogous
#205FAD #2820AD #6E20AD
triadic
#2820AD #AD2820 #20AD28
tetradic
#2820AD #AD205F #A5AD20 #20AD6E
square
#2820AD #AD205F #A5AD20 #20AD6E
split-complementary
#2820AD #AD6E20 #5FAD20
monochromatic
#100D46 #1C1679 #2820AD #3B31D9 #6C65E2

Accessibility & contrast

On white

11.05
#2820AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2820AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2820AD#FFFFFF#000000##FFFFFF
##2820AD1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B1
Deuteranopia (green-blind)
#0035AB
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2820ad;
/* rgb */ color: rgb(40, 32, 173);
/* oklch */ color: oklch(37.7% 0.209 272.6);
Tailwind
colors: {
  custom: {
    50: '#7a60c7',
    500: '#2820ad',
    950: '#000000',
  },
}
SCSS
$custom: #2820ad;
$custom-light: #7a60c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2820ad",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 243.404,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37744,
    "c": 0.20857,
    "h": 272.6
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#2820AD
secondary
#C2C861
accent
#EC3CE2
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2820AD

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

Preview Lab → · Contrast checker → · Palette generator →

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