#2A29AE#2A29AE

#2A29AE is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.201 H 272.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2A29AE
RGBrgb(42, 41, 174)
HSLhsl(240, 62%, 42%)
HSVhsv(240, 76%, 68%)
CMYKcmyk(75.9%, 76.4%, 0%, 31.8%)
CIE-LABlab(27.11, 45.28, -69.54)
CIE-LCHlch(27.11, 82.99, 303.07°)
OKLaboklab(39.1% 0.0084 -0.2013)
OKLCHoklch(39.1% 0.201 272.4)
XYZxyz(9.3852, 5.1331, 40.5324)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29AE #ADAE29
analogous
#296BAE #2A29AE #6D29AE
triadic
#2A29AE #AE2A29 #29AE2A
tetradic
#2A29AE #AE296B #ADAE29 #29AE6D
square
#2A29AE #AE296B #ADAE29 #29AE6D
split-complementary
#2A29AE #AE6D29 #6BAE29
monochromatic
#12124B #1E1D7C #2A29AE #4342D2 #7473DE

Accessibility & contrast

On white

10.36
#2A29AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2A29AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29AE
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29AE#FFFFFF#000000##FFFFFF
##2A29AE1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a29ae;
/* rgb */ color: rgb(42, 41, 174);
/* oklch */ color: oklch(39.1% 0.201 272.4);
Tailwind
colors: {
  custom: {
    50: '#7a65c7',
    500: '#2a29ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a29ae;
$custom-light: #7a65c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29ae",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 240.451,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39104,
    "c": 0.20145,
    "h": 272.4
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#2A29AE
secondary
#C5C56D
accent
#E543E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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