#29218C#29218C

#29218C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.167 H 276.2°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#29218C
RGBrgb(41, 33, 140)
HSLhsl(244, 62%, 34%)
HSVhsv(244, 76%, 55%)
CMYKcmyk(70.7%, 76.4%, 0%, 45.1%)
CIE-LABlab(21.77, 38.37, -57.59)
CIE-LCHlch(21.77, 69.20, 303.67°)
OKLaboklab(34.22% 0.018 -0.1664)
OKLCHoklch(34.22% 0.167 276.2)
XYZxyz(6.1904, 3.4520, 25.1459)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29218C #848C21
analogous
#214F8C #29218C #5F218C
triadic
#29218C #8C2921 #218C29
tetradic
#29218C #8C214F #848C21 #218C5F
square
#29218C #8C214F #848C21 #218C5F
split-complementary
#29218C #8C5F21 #4F8C21
monochromatic
#0C0A29 #1A155A #29218C #382DBE #5B51D6

Accessibility & contrast

On white

12.42
#29218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#29218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29218C
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29218C#FFFFFF#000000##FFFFFF
##29218C1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #29218c;
/* rgb */ color: rgb(41, 33, 140);
/* oklch */ color: oklch(34.2% 0.167 276.2);
Tailwind
colors: {
  custom: {
    50: '#725eaf',
    500: '#29218c',
    950: '#000000',
  },
}
SCSS
$custom: #29218c;
$custom-light: #725eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#29218c",
  "rgb": {
    "r": 41,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 244.486,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3422,
    "c": 0.16741,
    "h": 276.2
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#29218C
secondary
#B2B94F
accent
#E543D9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #29218C

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

Preview Lab → · Contrast checker → · Palette generator →

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