#29158F#29158F

#29158F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.182 H 277.2°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#29158F
RGBrgb(41, 21, 143)
HSLhsl(250, 74%, 32%)
HSVhsv(250, 85%, 56%)
CMYKcmyk(71.3%, 85.3%, 0%, 43.9%)
CIE-LABlab(20.01, 45.41, -62.37)
CIE-LCHlch(20.01, 77.16, 306.06°)
OKLaboklab(33.09% 0.0229 -0.1802)
OKLCHoklch(33.09% 0.182 277.2)
XYZxyz(6.1389, 2.9904, 26.2350)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29158F #7B8F15
analogous
#153E8F #29158F #66158F
triadic
#29158F #8F2915 #158F29
tetradic
#29158F #8F153E #7B8F15 #158F66
square
#29158F #8F153E #7B8F15 #158F66
split-complementary
#29158F #8F6615 #3E8F15
monochromatic
#0A0524 #1A0D5A #29158F #381DC4 #573CE2

Accessibility & contrast

On white

13.14
#29158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#29158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29158F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29158F#FFFFFF#000000##FFFFFF
##29158F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #29158f;
/* rgb */ color: rgb(41, 21, 143);
/* oklch */ color: oklch(33.1% 0.182 277.2);
Tailwind
colors: {
  custom: {
    50: '#7458b1',
    500: '#29158f',
    950: '#000000',
  },
}
SCSS
$custom: #29158f;
$custom-light: #7458b1;
$custom-dark: #000000;
JSON
{
  "hex": "#29158f",
  "rgb": {
    "r": 41,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 249.836,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3309,
    "c": 0.18165,
    "h": 277.2
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#29158F
secondary
#ACC23E
accent
#F137D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #29158F

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

Preview Lab → · Contrast checker → · Palette generator →

#29158F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva