#2A29B4#2A29B4

#2A29B4 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.209 H 272.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2A29B4
RGBrgb(42, 41, 180)
HSLhsl(240, 63%, 43%)
HSVhsv(240, 77%, 71%)
CMYKcmyk(76.7%, 77.2%, 0%, 29.4%)
CIE-LABlab(27.77, 47.25, -72.04)
CIE-LCHlch(27.77, 86.15, 303.26°)
OKLaboklab(39.76% 0.0072 -0.2085)
OKLCHoklch(39.76% 0.209 272)
XYZxyz(9.9832, 5.3723, 43.6820)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29B4 #B3B429
analogous
#296DB4 #2A29B4 #6F29B4
triadic
#2A29B4 #B42A29 #29B42A
tetradic
#2A29B4 #B4296D #B3B429 #29B46F
square
#2A29B4 #B4296D #B3B429 #29B46F
split-complementary
#2A29B4 #B46F29 #6DB429
monochromatic
#131250 #1E1E82 #2A29B4 #4645D5 #7877E0

Accessibility & contrast

On white

10.12
#2A29B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A29B4
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29B4#FFFFFF#000000##FFFFFF
##2A29B41.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a29b4;
/* rgb */ color: rgb(42, 41, 180);
/* oklch */ color: oklch(39.8% 0.209 272.0);
Tailwind
colors: {
  custom: {
    50: '#7c65cc',
    500: '#2a29b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a29b4;
$custom-light: #7c65cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29b4",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 240.432,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.20865,
    "h": 272
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#2A29B4
secondary
#C7C871
accent
#E642E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2A29B4

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

Preview Lab → · Contrast checker → · Palette generator →

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