#2A29AA#2A29AA

#2A29AA is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.197 H 272.7°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2A29AA
RGBrgb(42, 41, 170)
HSLhsl(240, 61%, 41%)
HSVhsv(240, 76%, 67%)
CMYKcmyk(75.3%, 75.9%, 0%, 33.3%)
CIE-LABlab(26.68, 43.96, -67.86)
CIE-LCHlch(26.68, 80.85, 302.93°)
OKLaboklab(38.67% 0.0091 -0.1964)
OKLCHoklch(38.67% 0.197 272.7)
XYZxyz(9.0010, 4.9795, 38.5092)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A29AA #A9AA29
analogous
#2969AA #2A29AA #6B29AA
triadic
#2A29AA #AA2A29 #29AA2A
tetradic
#2A29AA #AA2969 #A9AA29 #29AA6B
square
#2A29AA #AA2969 #A9AA29 #29AA6B
split-complementary
#2A29AA #AA6B29 #69AA29
monochromatic
#121147 #1E1D79 #2A29AA #413FD1 #7271DD

Accessibility & contrast

On white

10.52
#2A29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A29AA
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A29AA#FFFFFF#000000##FFFFFF
##2A29AA1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#0039A8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a29aa;
/* rgb */ color: rgb(42, 41, 170);
/* oklch */ color: oklch(38.7% 0.197 272.7);
Tailwind
colors: {
  custom: {
    50: '#7965c5',
    500: '#2a29aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a29aa;
$custom-light: #7965c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a29aa",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 240.465,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38669,
    "c": 0.19659,
    "h": 272.7
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#2A29AA
secondary
#C3C46B
accent
#E444E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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