#2A29AB#2A29AB

#2A29AB is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.198 H 272.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2A29AB
RGBrgb(42, 41, 171)
HSLhsl(240, 61%, 42%)
HSVhsv(240, 76%, 67%)
CMYKcmyk(75.4%, 76%, 0%, 32.9%)
CIE-LABlab(26.78, 44.29, -68.28)
CIE-LCHlch(26.78, 81.39, 302.97°)
OKLaboklab(38.78% 0.0089 -0.1976)
OKLCHoklch(38.78% 0.198 272.6)
XYZxyz(9.0960, 5.0174, 39.0093)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29AB #AAAB29
analogous
#2969AB #2A29AB #6B29AB
triadic
#2A29AB #AB2A29 #29AB2A
tetradic
#2A29AB #AB2969 #AAAB29 #29AB6B
square
#2A29AB #AB2969 #AAAB29 #29AB6B
split-complementary
#2A29AB #AB6B29 #69AB29
monochromatic
#121148 #1E1D7A #2A29AB #4140D1 #7271DD

Accessibility & contrast

On white

10.48
#2A29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2A29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29AB
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29AB#FFFFFF#000000##FFFFFF
##2A29AB1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a29ab;
/* rgb */ color: rgb(42, 41, 171);
/* oklch */ color: oklch(38.8% 0.198 272.6);
Tailwind
colors: {
  custom: {
    50: '#7965c5',
    500: '#2a29ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a29ab;
$custom-light: #7965c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29ab",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 240.462,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38777,
    "c": 0.19781,
    "h": 272.6
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#2A29AB
secondary
#C3C46C
accent
#E443E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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