#2A29AF#2A29AF

#2A29AF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.2% C 0.203 H 272.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2A29AF
RGBrgb(42, 41, 175)
HSLhsl(240, 62%, 42%)
HSVhsv(240, 77%, 69%)
CMYKcmyk(76%, 76.6%, 0%, 31.4%)
CIE-LABlab(27.22, 45.61, -69.96)
CIE-LCHlch(27.22, 83.52, 303.10°)
OKLaboklab(39.21% 0.0082 -0.2025)
OKLCHoklch(39.21% 0.203 272.3)
XYZxyz(9.4830, 5.1723, 41.0477)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29AF #AEAF29
analogous
#296BAF #2A29AF #6D29AF
triadic
#2A29AF #AF2A29 #29AF2A
tetradic
#2A29AF #AF296B #AEAF29 #29AF6D
square
#2A29AF #AF296B #AEAF29 #29AF6D
split-complementary
#2A29AF #AF6D29 #6BAF29
monochromatic
#12124C #1E1D7D #2A29AF #4342D3 #7574DE

Accessibility & contrast

On white

10.32
#2A29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2A29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29AF
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29AF#FFFFFF#000000##FFFFFF
##2A29AF1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a29af;
/* rgb */ color: rgb(42, 41, 175);
/* oklch */ color: oklch(39.2% 0.203 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a65c8',
    500: '#2a29af',
    950: '#000000',
  },
}
SCSS
$custom: #2a29af;
$custom-light: #7a65c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29af",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 240.448,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39214,
    "c": 0.20266,
    "h": 272.3
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#2A29AF
secondary
#C5C66E
accent
#E543E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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