#2820AC#2820AC

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

Color values

HEX#2820AC
RGBrgb(40, 32, 172)
HSLhsl(243, 69%, 40%)
HSVhsv(243, 81%, 67%)
CMYKcmyk(76.7%, 81.4%, 0%, 32.5%)
CIE-LABlab(25.14, 49.16, -71.60)
CIE-LCHlch(25.14, 86.86, 304.47°)
OKLaboklab(37.63% 0.0096 -0.2072)
OKLCHoklch(37.63% 0.207 272.6)
XYZxyz(8.8355, 4.4618, 39.4173)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2820AC #A4AC20
analogous
#205EAC #2820AC #6E20AC
triadic
#2820AC #AC2820 #20AC28
tetradic
#2820AC #AC205E #A4AC20 #20AC6E
square
#2820AC #AC205E #A4AC20 #20AC6E
split-complementary
#2820AC #AC6E20 #5EAC20
monochromatic
#100D45 #1C1678 #2820AC #3A31D9 #6B64E2

Accessibility & contrast

On white

11.10
#2820AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2820AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2820AC#FFFFFF#000000##FFFFFF
##2820AC1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0035AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2820ac;
/* rgb */ color: rgb(40, 32, 172);
/* oklch */ color: oklch(37.6% 0.207 272.6);
Tailwind
colors: {
  custom: {
    50: '#7a60c6',
    500: '#2820ac',
    950: '#000000',
  },
}
SCSS
$custom: #2820ac;
$custom-light: #7a60c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2820ac",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 243.429,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.37628,
    "c": 0.2074,
    "h": 272.6
  },
  "luminance": 0.04463
}

Semantic roles & 50–950 ramp

primary
#2820AC
secondary
#C1C760
accent
#EB3CE1
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2820AC

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

Preview Lab → · Contrast checker → · Palette generator →

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