#2A29B2#2A29B2

#2A29B2 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.206 H 272.1°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2A29B2
RGBrgb(42, 41, 178)
HSLhsl(240, 63%, 43%)
HSVhsv(240, 77%, 70%)
CMYKcmyk(76.4%, 77%, 0%, 30.2%)
CIE-LABlab(27.55, 46.59, -71.21)
CIE-LCHlch(27.55, 85.10, 303.20°)
OKLaboklab(39.54% 0.0076 -0.2061)
OKLCHoklch(39.54% 0.206 272.1)
XYZxyz(9.7810, 5.2914, 42.6167)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29B2 #B1B229
analogous
#296CB2 #2A29B2 #6E29B2
triadic
#2A29B2 #B22A29 #29B22A
tetradic
#2A29B2 #B2296C #B1B229 #29B26E
square
#2A29B2 #B2296C #B1B229 #29B26E
split-complementary
#2A29B2 #B26E29 #6CB229
monochromatic
#13124F #1E1E80 #2A29B2 #4544D4 #7776DF

Accessibility & contrast

On white

10.20
#2A29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29B2
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29B2#FFFFFF#000000##FFFFFF
##2A29B21.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003AB0
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a29b2;
/* rgb */ color: rgb(42, 41, 178);
/* oklch */ color: oklch(39.5% 0.206 272.1);
Tailwind
colors: {
  custom: {
    50: '#7b65ca',
    500: '#2a29b2',
    950: '#000000',
  },
}
SCSS
$custom: #2a29b2;
$custom-light: #7b65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29b2",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 240.438,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39543,
    "c": 0.20627,
    "h": 272.1
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#2A29B2
secondary
#C6C770
accent
#E642E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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