#2A29B6#2A29B6

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

Color values

HEX#2A29B6
RGBrgb(42, 41, 182)
HSLhsl(240, 63%, 44%)
HSVhsv(240, 77%, 71%)
CMYKcmyk(76.9%, 77.5%, 0%, 28.6%)
CIE-LABlab(27.99, 47.90, -72.86)
CIE-LCHlch(27.99, 87.20, 303.32°)
OKLaboklab(39.98% 0.0068 -0.2109)
OKLCHoklch(39.98% 0.211 271.8)
XYZxyz(10.1884, 5.4544, 44.7627)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29B6 #B5B629
analogous
#296EB6 #2A29B6 #7029B6
triadic
#2A29B6 #B62A29 #29B62A
tetradic
#2A29B6 #B6296E #B5B629 #29B670
square
#2A29B6 #B6296E #B5B629 #29B670
split-complementary
#2A29B6 #B67029 #6EB629
monochromatic
#131252 #1E1E84 #2A29B6 #4847D5 #7979E1

Accessibility & contrast

On white

10.04
#2A29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29B6
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29B6#FFFFFF#000000##FFFFFF
##2A29B61.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a29b6;
/* rgb */ color: rgb(42, 41, 182);
/* oklch */ color: oklch(40.0% 0.211 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c65cd',
    500: '#2a29b6',
    950: '#000000',
  },
}
SCSS
$custom: #2a29b6;
$custom-light: #7c65cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29b6",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 240.426,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.39984,
    "c": 0.21104,
    "h": 271.8
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#2A29B6
secondary
#C8C972
accent
#E642E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2A29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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