#2A29B7#2A29B7

#2A29B7 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.212 H 271.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2A29B7
RGBrgb(42, 41, 183)
HSLhsl(240, 63%, 44%)
HSVhsv(240, 78%, 72%)
CMYKcmyk(77%, 77.6%, 0%, 28.2%)
CIE-LABlab(28.10, 48.22, -73.28)
CIE-LCHlch(28.10, 87.72, 303.35°)
OKLaboklab(40.1% 0.0066 -0.2121)
OKLCHoklch(40.1% 0.212 271.8)
XYZxyz(10.2921, 5.4959, 45.3090)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29B7 #B6B729
analogous
#296FB7 #2A29B7 #7129B7
triadic
#2A29B7 #B72A29 #29B72A
tetradic
#2A29B7 #B7296F #B6B729 #29B771
square
#2A29B7 #B7296F #B6B729 #29B771
split-complementary
#2A29B7 #B77129 #6FB729
monochromatic
#131353 #1F1E85 #2A29B7 #4847D6 #7A79E1

Accessibility & contrast

On white

10.00
#2A29B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2A29B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29B7
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29B7#FFFFFF#000000##FFFFFF
##2A29B71.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BB
Deuteranopia (green-blind)
#003BB5
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a29b7;
/* rgb */ color: rgb(42, 41, 183);
/* oklch */ color: oklch(40.1% 0.212 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c65ce',
    500: '#2a29b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a29b7;
$custom-light: #7c65ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29b7",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 240.423,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40095,
    "c": 0.21222,
    "h": 271.8
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#2A29B7
secondary
#C8C973
accent
#E641E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2A29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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