#2A29A3#2A29A3

#2A29A3 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.188 H 273.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2A29A3
RGBrgb(42, 41, 163)
HSLhsl(240, 60%, 40%)
HSVhsv(240, 75%, 64%)
CMYKcmyk(74.2%, 74.8%, 0%, 36.1%)
CIE-LABlab(25.93, 41.61, -64.87)
CIE-LCHlch(25.93, 77.07, 302.68°)
OKLaboklab(37.92% 0.0104 -0.1877)
OKLCHoklch(37.92% 0.188 273.2)
XYZxyz(8.3564, 4.7216, 35.1142)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29A3 #A2A329
analogous
#2965A3 #2A29A3 #6729A3
triadic
#2A29A3 #A32A29 #29A32A
tetradic
#2A29A3 #A32965 #A2A329 #29A367
square
#2A29A3 #A32965 #A2A329 #29A367
split-complementary
#2A29A3 #A36729 #65A329
monochromatic
#111041 #1D1D72 #2A29A3 #3D3BCE #6D6CDA

Accessibility & contrast

On white

10.80
#2A29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2A29A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A29A3
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29A3#FFFFFF#000000##FFFFFF
##2A29A31.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#0037A1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a29a3;
/* rgb */ color: rgb(42, 41, 163);
/* oklch */ color: oklch(37.9% 0.188 273.2);
Tailwind
colors: {
  custom: {
    50: '#7764bf',
    500: '#2a29a3',
    950: '#000000',
  },
}
SCSS
$custom: #2a29a3;
$custom-light: #7764bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29a3",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 240.492,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.37915,
    "c": 0.18797,
    "h": 273.2
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#2A29A3
secondary
#C0C167
accent
#E345E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2A29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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