#2A29A4#2A29A4

#2A29A4 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.189 H 273.1°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2A29A4
RGBrgb(42, 41, 164)
HSLhsl(240, 60%, 40%)
HSVhsv(240, 75%, 64%)
CMYKcmyk(74.4%, 75%, 0%, 35.7%)
CIE-LABlab(26.03, 41.95, -65.30)
CIE-LCHlch(26.03, 77.61, 302.72°)
OKLaboklab(38.02% 0.0103 -0.1889)
OKLCHoklch(38.02% 0.189 273.1)
XYZxyz(8.4464, 4.7576, 35.5879)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29A4 #A3A429
analogous
#2965A4 #2A29A4 #6829A4
triadic
#2A29A4 #A42A29 #29A42A
tetradic
#2A29A4 #A42965 #A3A429 #29A468
square
#2A29A4 #A42965 #A3A429 #29A468
split-complementary
#2A29A4 #A46829 #65A429
monochromatic
#111142 #1D1D73 #2A29A4 #3D3CCE #6E6DDA

Accessibility & contrast

On white

10.76
#2A29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2A29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29A4
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29A4#FFFFFF#000000##FFFFFF
##2A29A41.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a29a4;
/* rgb */ color: rgb(42, 41, 164);
/* oklch */ color: oklch(38.0% 0.189 273.1);
Tailwind
colors: {
  custom: {
    50: '#7864c0',
    500: '#2a29a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a29a4;
$custom-light: #7864c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29a4",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 240.488,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38022,
    "c": 0.18921,
    "h": 273.1
  },
  "luminance": 0.04758
}

Semantic roles & 50–950 ramp

primary
#2A29A4
secondary
#C0C168
accent
#E345E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2A29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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