#2829AC#2829AC

#2829AC is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.200 H 271.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2829AC
RGBrgb(40, 41, 172)
HSLhsl(240, 62%, 42%)
HSVhsv(240, 77%, 67%)
CMYKcmyk(76.7%, 76.2%, 0%, 32.5%)
CIE-LABlab(26.78, 44.46, -68.90)
CIE-LCHlch(26.78, 82.00, 302.83°)
OKLaboklab(38.77% 0.0064 -0.1994)
OKLCHoklch(38.77% 0.2 271.8)
XYZxyz(9.1119, 5.0146, 39.5094)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829AC #ACAB28
analogous
#286BAC #2829AC #6928AC
triadic
#2829AC #AC2829 #29AC28
tetradic
#2829AC #AC286B #ACAB28 #28AC69
square
#2829AC #AC286B #ACAB28 #28AC69
split-complementary
#2829AC #AC6928 #6BAC28
monochromatic
#111149 #1C1D7A #2829AC #3F40D2 #7171DE

Accessibility & contrast

On white

10.48
#2829AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2829AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829AC
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829AC#FFFFFF#000000##FFFFFF
##2829AC1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2829ac;
/* rgb */ color: rgb(40, 41, 172);
/* oklch */ color: oklch(38.8% 0.200 271.8);
Tailwind
colors: {
  custom: {
    50: '#7965c6',
    500: '#2829ac',
    950: '#000000',
  },
}
SCSS
$custom: #2829ac;
$custom-light: #7965c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2829ac",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 239.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38772,
    "c": 0.19955,
    "h": 271.8
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#2829AC
secondary
#C5C46B
accent
#E442E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2829AC

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

Preview Lab → · Contrast checker → · Palette generator →

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