#29217A#29217A

#29217A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.144 H 278.7°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#29217A
RGBrgb(41, 33, 122)
HSLhsl(245, 57%, 30%)
HSVhsv(245, 73%, 48%)
CMYKcmyk(66.4%, 73%, 0%, 52.2%)
CIE-LABlab(19.90, 32.24, -49.31)
CIE-LCHlch(19.90, 58.91, 303.17°)
OKLaboklab(32.32% 0.0217 -0.1423)
OKLCHoklch(32.32% 0.144 278.7)
XYZxyz(4.9700, 2.9639, 18.7188)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29217A #727A21
analogous
#21467A #29217A #55217A
triadic
#29217A #7A2921 #217A29
tetradic
#29217A #7A2146 #727A21 #217A55
square
#29217A #7A2146 #727A21 #217A55
split-complementary
#29217A #7A5521 #467A21
monochromatic
#09071A #19144A #29217A #392EAA #5448CD

Accessibility & contrast

On white

13.18
#29217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#29217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29217A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29217A#FFFFFF#000000##FFFFFF
##29217A1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #29217a;
/* rgb */ color: rgb(41, 33, 122);
/* oklch */ color: oklch(32.3% 0.144 278.7);
Tailwind
colors: {
  custom: {
    50: '#6e5da1',
    500: '#29217a',
    950: '#000000',
  },
}
SCSS
$custom: #29217a;
$custom-light: #6e5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#29217a",
  "rgb": {
    "r": 41,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 245.393,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32325,
    "c": 0.14393,
    "h": 278.7
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#29217A
secondary
#A4AD4A
accent
#E147D3
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #29217A

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

Preview Lab → · Contrast checker → · Palette generator →

#29217A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva