#2829AD#2829AD

#2829AD is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 38.9% C 0.201 H 271.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2829AD
RGBrgb(40, 41, 173)
HSLhsl(240, 62%, 42%)
HSVhsv(240, 77%, 68%)
CMYKcmyk(76.9%, 76.3%, 0%, 32.2%)
CIE-LABlab(26.89, 44.79, -69.32)
CIE-LCHlch(26.89, 82.53, 302.87°)
OKLaboklab(38.88% 0.0062 -0.2007)
OKLCHoklch(38.88% 0.201 271.8)
XYZxyz(9.2083, 5.0531, 40.0171)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829AD #ADAC28
analogous
#286CAD #2829AD #6A28AD
triadic
#2829AD #AD2829 #29AD28
tetradic
#2829AD #AD286C #ADAC28 #28AD6A
square
#2829AD #AD286C #ADAC28 #28AD6A
split-complementary
#2829AD #AD6A28 #6CAD28
monochromatic
#11114A #1D1D7B #2829AD #3F41D3 #7172DE

Accessibility & contrast

On white

10.44
#2829AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2829AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829AD
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829AD#FFFFFF#000000##FFFFFF
##2829AD1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B1
Deuteranopia (green-blind)
#0039AB
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2829ad;
/* rgb */ color: rgb(40, 41, 173);
/* oklch */ color: oklch(38.9% 0.201 271.8);
Tailwind
colors: {
  custom: {
    50: '#7965c7',
    500: '#2829ad',
    950: '#000000',
  },
}
SCSS
$custom: #2829ad;
$custom-light: #7965c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2829ad",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 239.549,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38882,
    "c": 0.20077,
    "h": 271.8
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#2829AD
secondary
#C5C56C
accent
#E442E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2829AD

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

Preview Lab → · Contrast checker → · Palette generator →

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