#2829C4#2829C4

#2829C4 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.228 H 270.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#2829C4
RGBrgb(40, 41, 196)
HSLhsl(240, 66%, 46%)
HSVhsv(240, 80%, 77%)
CMYKcmyk(79.6%, 79.1%, 0%, 23.1%)
CIE-LABlab(29.47, 52.24, -78.70)
CIE-LCHlch(29.47, 94.46, 303.58°)
OKLaboklab(41.45% 0.0018 -0.2279)
OKLCHoklch(41.45% 0.228 270.5)
XYZxyz(11.6284, 6.0212, 52.7632)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2829C4 #C4C328
analogous
#2877C4 #2829C4 #7528C4
triadic
#2829C4 #C42829 #29C428
tetradic
#2829C4 #C42877 #C4C328 #28C475
square
#2829C4 #C42877 #C4C328 #28C475
split-complementary
#2829C4 #C47528 #77C428
monochromatic
#13145E #1E1E91 #2829C4 #4E4FDB #8182E5

Accessibility & contrast

On white

9.53
#2829C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2829C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2829C4
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2829C4#FFFFFF#000000##FFFFFF
##2829C41.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC8
Deuteranopia (green-blind)
#003DC1
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2829c4;
/* rgb */ color: rgb(40, 41, 196);
/* oklch */ color: oklch(41.4% 0.228 270.5);
Tailwind
colors: {
  custom: {
    50: '#7f66d7',
    500: '#2829c4',
    950: '#000000',
  },
}
SCSS
$custom: #2829c4;
$custom-light: #7f66d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2829c4",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 196
  },
  "hsl": {
    "h": 239.615,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.41449,
    "c": 0.2279,
    "h": 270.5
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2829C4

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

Preview Lab → · Contrast checker → · Palette generator →

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