#2A29C4#2A29C4

#2A29C4 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.227 H 271.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2A29C4
RGBrgb(42, 41, 196)
HSLhsl(240, 65%, 46%)
HSVhsv(240, 79%, 77%)
CMYKcmyk(78.6%, 79.1%, 0%, 23.1%)
CIE-LABlab(29.57, 52.36, -78.53)
CIE-LCHlch(29.57, 94.39, 303.70°)
OKLaboklab(41.55% 0.004 -0.2273)
OKLCHoklch(41.55% 0.227 271)
XYZxyz(11.7082, 6.0623, 52.7669)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29C4 #C3C429
analogous
#2976C4 #2A29C4 #7829C4
triadic
#2A29C4 #C42A29 #29C42A
tetradic
#2A29C4 #C42976 #C3C429 #29C478
square
#2A29C4 #C42976 #C3C429 #29C478
split-complementary
#2A29C4 #C47829 #76C429
monochromatic
#14145F #1F1E91 #2A29C4 #5150DA #8382E5

Accessibility & contrast

On white

9.49
#2A29C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2A29C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29C4
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29C4#FFFFFF#000000##FFFFFF
##2A29C41.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)
#004DC8
Deuteranopia (green-blind)
#003EC1
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a29c4;
/* rgb */ color: rgb(42, 41, 196);
/* oklch */ color: oklch(41.5% 0.227 271.0);
Tailwind
colors: {
  custom: {
    50: '#7f66d7',
    500: '#2a29c4',
    950: '#000000',
  },
}
SCSS
$custom: #2a29c4;
$custom-light: #7f66d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29c4",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 196
  },
  "hsl": {
    "h": 240.387,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4155,
    "c": 0.22738,
    "h": 271
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#2A29C4
secondary
#CDCE7B
accent
#E83FE7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2A29C4

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

Preview Lab → · Contrast checker → · Palette generator →

#2A29C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva