#2A29C2#2A29C2

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

Color values

HEX#2A29C2
RGBrgb(42, 41, 194)
HSLhsl(240, 65%, 46%)
HSVhsv(240, 79%, 76%)
CMYKcmyk(78.4%, 78.9%, 0%, 23.9%)
CIE-LABlab(29.34, 51.73, -77.73)
CIE-LCHlch(29.34, 93.37, 303.65°)
OKLaboklab(41.32% 0.0044 -0.225)
OKLCHoklch(41.32% 0.225 271.1)
XYZxyz(11.4821, 5.9719, 51.5760)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29C2 #C1C229
analogous
#2974C2 #2A29C2 #7629C2
triadic
#2A29C2 #C22A29 #29C22A
tetradic
#2A29C2 #C22974 #C1C229 #29C276
square
#2A29C2 #C22974 #C1C229 #29C276
split-complementary
#2A29C2 #C27629 #74C229
monochromatic
#14145D #1F1E8F #2A29C2 #4F4EDA #8281E4

Accessibility & contrast

On white

9.57
#2A29C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2A29C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29C2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29C2#FFFFFF#000000##FFFFFF
##2A29C21.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC6
Deuteranopia (green-blind)
#003DBF
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a29c2;
/* rgb */ color: rgb(42, 41, 194);
/* oklch */ color: oklch(41.3% 0.225 271.1);
Tailwind
colors: {
  custom: {
    50: '#7f66d6',
    500: '#2a29c2',
    950: '#000000',
  },
}
SCSS
$custom: #2a29c2;
$custom-light: #7f66d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29c2",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 194
  },
  "hsl": {
    "h": 240.392,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.22508,
    "h": 271.1
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A29C2

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

Preview Lab → · Contrast checker → · Palette generator →

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