#2A29AC#2A29AC

#2A29AC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.199 H 272.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2A29AC
RGBrgb(42, 41, 172)
HSLhsl(240, 62%, 42%)
HSVhsv(240, 76%, 67%)
CMYKcmyk(75.6%, 76.2%, 0%, 32.5%)
CIE-LABlab(26.89, 44.62, -68.70)
CIE-LCHlch(26.89, 81.92, 303.00°)
OKLaboklab(38.89% 0.0087 -0.1988)
OKLCHoklch(38.89% 0.199 272.5)
XYZxyz(9.1917, 5.0557, 39.5132)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29AC #ABAC29
analogous
#296AAC #2A29AC #6C29AC
triadic
#2A29AC #AC2A29 #29AC2A
tetradic
#2A29AC #AC296A #ABAC29 #29AC6C
square
#2A29AC #AC296A #ABAC29 #29AC6C
split-complementary
#2A29AC #AC6C29 #6AAC29
monochromatic
#121149 #1E1D7B #2A29AC #4241D2 #7372DD

Accessibility & contrast

On white

10.44
#2A29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2A29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29AC
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29AC#FFFFFF#000000##FFFFFF
##2A29AC1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a29ac;
/* rgb */ color: rgb(42, 41, 172);
/* oklch */ color: oklch(38.9% 0.199 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a65c6',
    500: '#2a29ac',
    950: '#000000',
  },
}
SCSS
$custom: #2a29ac;
$custom-light: #7a65c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29ac",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 240.458,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38886,
    "c": 0.19903,
    "h": 272.5
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#2A29AC
secondary
#C4C56C
accent
#E543E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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