#29218B#29218B

#29218B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.166 H 276.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#29218B
RGBrgb(41, 33, 139)
HSLhsl(245, 62%, 34%)
HSVhsv(245, 76%, 55%)
CMYKcmyk(70.5%, 76.3%, 0%, 45.5%)
CIE-LABlab(21.66, 38.03, -57.14)
CIE-LCHlch(21.66, 68.64, 303.65°)
OKLaboklab(34.11% 0.0182 -0.1651)
OKLCHoklch(34.11% 0.166 276.3)
XYZxyz(6.1170, 3.4227, 24.7594)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29218B #838B21
analogous
#214E8B #29218B #5E218B
triadic
#29218B #8B2921 #218B29
tetradic
#29218B #8B214E #838B21 #218B5E
square
#29218B #8B214E #838B21 #218B5E
split-complementary
#29218B #8B5E21 #4E8B21
monochromatic
#0C0A28 #1A155A #29218B #382DBC #5B51D6

Accessibility & contrast

On white

12.47
#29218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#29218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29218B
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29218B#FFFFFF#000000##FFFFFF
##29218B1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#002F89
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #29218b;
/* rgb */ color: rgb(41, 33, 139);
/* oklch */ color: oklch(34.1% 0.166 276.3);
Tailwind
colors: {
  custom: {
    50: '#725eae',
    500: '#29218b',
    950: '#000000',
  },
}
SCSS
$custom: #29218b;
$custom-light: #725eae;
$custom-dark: #000000;
JSON
{
  "hex": "#29218b",
  "rgb": {
    "r": 41,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 244.528,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34112,
    "c": 0.16614,
    "h": 276.3
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#29218B
secondary
#B1B94F
accent
#E543D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #29218B

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

Preview Lab → · Contrast checker → · Palette generator →

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