#29159E#29159E

#29159E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.199 H 275.2°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#29159E
RGBrgb(41, 21, 158)
HSLhsl(249, 77%, 35%)
HSVhsv(249, 87%, 62%)
CMYKcmyk(74.1%, 86.7%, 0%, 38%)
CIE-LABlab(21.86, 49.87, -68.56)
CIE-LCHlch(21.86, 84.78, 306.03°)
OKLaboklab(34.89% 0.018 -0.1981)
OKLCHoklch(34.89% 0.199 275.2)
XYZxyz(7.3521, 3.4756, 32.6245)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29159E #8A9E15
analogous
#15469E #29159E #6D159E
triadic
#29159E #9E2915 #159E29
tetradic
#29159E #9E1546 #8A9E15 #159E6D
square
#29159E #9E1546 #8A9E15 #159E6D
split-complementary
#29159E #9E6D15 #469E15
monochromatic
#0D0732 #1B0E68 #29159E #371CD4 #5E47E7

Accessibility & contrast

On white

12.39
#29159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29159E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29159E#FFFFFF#000000##FFFFFF
##29159E1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #29159e;
/* rgb */ color: rgb(41, 21, 158);
/* oklch */ color: oklch(34.9% 0.199 275.2);
Tailwind
colors: {
  custom: {
    50: '#7859bc',
    500: '#29159e',
    950: '#000000',
  },
}
SCSS
$custom: #29159e;
$custom-light: #7859bc;
$custom-dark: #000000;
JSON
{
  "hex": "#29159e",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 248.759,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34891,
    "c": 0.19896,
    "h": 275.2
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#29159E
secondary
#B5C747
accent
#F335D7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #29159E

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

Preview Lab → · Contrast checker → · Palette generator →

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