#29218E#29218E

#29218E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.170 H 275.9°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#29218E
RGBrgb(41, 33, 142)
HSLhsl(244, 62%, 34%)
HSVhsv(244, 77%, 56%)
CMYKcmyk(71.1%, 76.8%, 0%, 44.3%)
CIE-LABlab(21.99, 39.04, -58.48)
CIE-LCHlch(21.99, 70.31, 303.73°)
OKLaboklab(34.44% 0.0176 -0.169)
OKLCHoklch(34.44% 0.17 275.9)
XYZxyz(6.3392, 3.5115, 25.9297)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29218E #868E21
analogous
#214F8E #29218E #60218E
triadic
#29218E #8E2921 #218E29
tetradic
#29218E #8E214F #868E21 #218E60
square
#29218E #8E214F #868E21 #218E60
split-complementary
#29218E #8E6021 #4F8E21
monochromatic
#0C0A2B #1B155C #29218E #372DC0 #5C52D7

Accessibility & contrast

On white

12.34
#29218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#29218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29218E
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29218E#FFFFFF#000000##FFFFFF
##29218E1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #29218e;
/* rgb */ color: rgb(41, 33, 142);
/* oklch */ color: oklch(34.4% 0.170 275.9);
Tailwind
colors: {
  custom: {
    50: '#735eb0',
    500: '#29218e',
    950: '#000000',
  },
}
SCSS
$custom: #29218e;
$custom-light: #735eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#29218e",
  "rgb": {
    "r": 41,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 244.404,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34437,
    "c": 0.16994,
    "h": 275.9
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#29218E
secondary
#B3BA50
accent
#E542D9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #29218E

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

Preview Lab → · Contrast checker → · Palette generator →

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