#2820AE#2820AE

#2820AE is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.9% C 0.210 H 272.5°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2820AE
RGBrgb(40, 32, 174)
HSLhsl(243, 69%, 40%)
HSVhsv(243, 82%, 68%)
CMYKcmyk(77%, 81.6%, 0%, 31.8%)
CIE-LABlab(25.38, 49.78, -72.42)
CIE-LCHlch(25.38, 87.88, 304.51°)
OKLaboklab(37.86% 0.0091 -0.2095)
OKLCHoklch(37.86% 0.21 272.5)
XYZxyz(9.0290, 4.5392, 40.4365)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2820AE #A6AE20
analogous
#205FAE #2820AE #6F20AE
triadic
#2820AE #AE2820 #20AE28
tetradic
#2820AE #AE205F #A6AE20 #20AE6F
square
#2820AE #AE205F #A6AE20 #20AE6F
split-complementary
#2820AE #AE6F20 #5FAE20
monochromatic
#100D47 #1C167A #2820AE #3B32D9 #6D66E3

Accessibility & contrast

On white

11.01
#2820AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2820AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2820AE#FFFFFF#000000##FFFFFF
##2820AE1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B2
Deuteranopia (green-blind)
#0035AC
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2820ae;
/* rgb */ color: rgb(40, 32, 174);
/* oklch */ color: oklch(37.9% 0.210 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a60c8',
    500: '#2820ae',
    950: '#000000',
  },
}
SCSS
$custom: #2820ae;
$custom-light: #7a60c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2820ae",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 243.38,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3786,
    "c": 0.20973,
    "h": 272.5
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2820AE

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

Preview Lab → · Contrast checker → · Palette generator →

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