#2829BD#2829BD

#2829BD is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.220 H 270.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2829BD
RGBrgb(40, 41, 189)
HSLhsl(240, 65%, 45%)
HSVhsv(240, 79%, 74%)
CMYKcmyk(78.8%, 78.3%, 0%, 25.9%)
CIE-LABlab(28.67, 50.01, -75.90)
CIE-LCHlch(28.67, 90.90, 303.38°)
OKLaboklab(40.66% 0.0032 -0.2198)
OKLCHoklch(40.66% 0.22 270.8)
XYZxyz(10.8502, 5.7099, 48.6645)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829BD #BDBC28
analogous
#2874BD #2829BD #7128BD
triadic
#2829BD #BD2829 #29BD28
tetradic
#2829BD #BD2874 #BDBC28 #28BD71
square
#2829BD #BD2874 #BDBC28 #28BD71
split-complementary
#2829BD #BD7128 #74BD28
monochromatic
#131358 #1D1E8A #2829BD #4A4BD9 #7C7DE3

Accessibility & contrast

On white

9.80
#2829BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2829BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829BD
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829BD#FFFFFF#000000##FFFFFF
##2829BD1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2829bd;
/* rgb */ color: rgb(40, 41, 189);
/* oklch */ color: oklch(40.7% 0.220 270.8);
Tailwind
colors: {
  custom: {
    50: '#7d66d2',
    500: '#2829bd',
    950: '#000000',
  },
}
SCSS
$custom: #2829bd;
$custom-light: #7d66d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2829bd",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 239.597,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40659,
    "c": 0.21979,
    "h": 270.8
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#2829BD
secondary
#CBCB75
accent
#E740E8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2829BD

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

Preview Lab → · Contrast checker → · Palette generator →

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