#2A29B3#2A29B3

#2A29B3 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.7% C 0.207 H 272.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2A29B3
RGBrgb(42, 41, 179)
HSLhsl(240, 63%, 43%)
HSVhsv(240, 77%, 70%)
CMYKcmyk(76.5%, 77.1%, 0%, 29.8%)
CIE-LABlab(27.66, 46.92, -71.63)
CIE-LCHlch(27.66, 85.63, 303.23°)
OKLaboklab(39.65% 0.0074 -0.2073)
OKLCHoklch(39.65% 0.207 272)
XYZxyz(9.8817, 5.3317, 43.1474)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29B3 #B2B329
analogous
#296DB3 #2A29B3 #6F29B3
triadic
#2A29B3 #B32A29 #29B32A
tetradic
#2A29B3 #B3296D #B2B329 #29B36F
square
#2A29B3 #B3296D #B2B329 #29B36F
split-complementary
#2A29B3 #B36F29 #6DB329
monochromatic
#13124F #1E1E81 #2A29B3 #4645D4 #7777E0

Accessibility & contrast

On white

10.16
#2A29B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2A29B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29B3
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29B3#FFFFFF#000000##FFFFFF
##2A29B31.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a29b3;
/* rgb */ color: rgb(42, 41, 179);
/* oklch */ color: oklch(39.7% 0.207 272.0);
Tailwind
colors: {
  custom: {
    50: '#7b65cb',
    500: '#2a29b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a29b3;
$custom-light: #7b65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29b3",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 240.435,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39653,
    "c": 0.20746,
    "h": 272
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#2A29B3
secondary
#C7C770
accent
#E642E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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