#29217E#29217E

#29217E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.149 H 278.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#29217E
RGBrgb(41, 33, 126)
HSLhsl(245, 58%, 31%)
HSVhsv(245, 74%, 49%)
CMYKcmyk(67.5%, 73.8%, 0%, 50.6%)
CIE-LABlab(20.30, 33.61, -51.20)
CIE-LCHlch(20.30, 61.24, 303.29°)
OKLaboklab(32.74% 0.0209 -0.1478)
OKLCHoklch(32.74% 0.149 278.1)
XYZxyz(5.2230, 3.0651, 20.0510)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29217E #767E21
analogous
#21477E #29217E #57217E
triadic
#29217E #7E2921 #217E29
tetradic
#29217E #7E2147 #767E21 #217E57
square
#29217E #7E2147 #767E21 #217E57
split-complementary
#29217E #7E5721 #477E21
monochromatic
#09081D #19144E #29217E #392EAE #554AD0

Accessibility & contrast

On white

13.02
#29217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#29217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29217E
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29217E#FFFFFF#000000##FFFFFF
##29217E1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #29217e;
/* rgb */ color: rgb(41, 33, 126);
/* oklch */ color: oklch(32.7% 0.149 278.1);
Tailwind
colors: {
  custom: {
    50: '#6f5da4',
    500: '#29217e',
    950: '#000000',
  },
}
SCSS
$custom: #29217e;
$custom-light: #6f5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#29217e",
  "rgb": {
    "r": 41,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 245.161,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32737,
    "c": 0.14927,
    "h": 278.1
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#29217E
secondary
#A8B14A
accent
#E246D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #29217E

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

Preview Lab → · Contrast checker → · Palette generator →

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