#2A29C3#2A29C3

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

Color values

HEX#2A29C3
RGBrgb(42, 41, 195)
HSLhsl(240, 65%, 46%)
HSVhsv(240, 79%, 76%)
CMYKcmyk(78.5%, 79%, 0%, 23.5%)
CIE-LABlab(29.46, 52.05, -78.13)
CIE-LCHlch(29.46, 93.88, 303.67°)
OKLaboklab(41.44% 0.0042 -0.2262)
OKLCHoklch(41.44% 0.226 271.1)
XYZxyz(11.5948, 6.0169, 52.1695)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29C3 #C2C329
analogous
#2975C3 #2A29C3 #7729C3
triadic
#2A29C3 #C32A29 #29C32A
tetradic
#2A29C3 #C32975 #C2C329 #29C377
square
#2A29C3 #C32975 #C2C329 #29C377
split-complementary
#2A29C3 #C37729 #75C329
monochromatic
#14145E #1F1E90 #2A29C3 #504FDA #8282E5

Accessibility & contrast

On white

9.53
#2A29C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2A29C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29C3
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29C3#FFFFFF#000000##FFFFFF
##2A29C31.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)
#004DC7
Deuteranopia (green-blind)
#003DC0
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a29c3;
/* rgb */ color: rgb(42, 41, 195);
/* oklch */ color: oklch(41.4% 0.226 271.1);
Tailwind
colors: {
  custom: {
    50: '#7f66d7',
    500: '#2a29c3',
    950: '#000000',
  },
}
SCSS
$custom: #2a29c3;
$custom-light: #7f66d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29c3",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 195
  },
  "hsl": {
    "h": 240.39,
    "s": 65.254,
    "l": 46.275
  },
  "oklch": {
    "l": 0.41437,
    "c": 0.22624,
    "h": 271.1
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#2A29C3
secondary
#CDCE7A
accent
#E840E7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2A29C3

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

Preview Lab → · Contrast checker → · Palette generator →

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