#2829C5#2829C5

#2829C5 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.229 H 270.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2829C5
RGBrgb(40, 41, 197)
HSLhsl(240, 66%, 46%)
HSVhsv(240, 80%, 77%)
CMYKcmyk(79.7%, 79.2%, 0%, 22.7%)
CIE-LABlab(29.58, 52.56, -79.10)
CIE-LCHlch(29.58, 94.97, 303.60°)
OKLaboklab(41.56% 0.0016 -0.229)
OKLCHoklch(41.56% 0.229 270.4)
XYZxyz(11.7426, 6.0669, 53.3646)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829C5 #C5C428
analogous
#2878C5 #2829C5 #7628C5
triadic
#2829C5 #C52829 #29C528
tetradic
#2829C5 #C52878 #C5C428 #28C576
square
#2829C5 #C52878 #C5C428 #28C576
split-complementary
#2829C5 #C57628 #78C528
monochromatic
#13145F #1E1E92 #2829C5 #4F50DB #8282E6

Accessibility & contrast

On white

9.49
#2829C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2829C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829C5
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829C5#FFFFFF#000000##FFFFFF
##2829C51.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC9
Deuteranopia (green-blind)
#003DC2
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2829c5;
/* rgb */ color: rgb(40, 41, 197);
/* oklch */ color: oklch(41.6% 0.229 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f66d8',
    500: '#2829c5',
    950: '#000000',
  },
}
SCSS
$custom: #2829c5;
$custom-light: #7f66d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2829c5",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 239.618,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41563,
    "c": 0.22905,
    "h": 270.4
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#2829C5
secondary
#CECE7A
accent
#E83FE9
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2829C5

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

Preview Lab → · Contrast checker → · Palette generator →

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