#29169D#29169D

#29169D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.197 H 275.3°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#29169D
RGBrgb(41, 22, 157)
HSLhsl(248, 75%, 35%)
HSVhsv(248, 86%, 62%)
CMYKcmyk(73.9%, 86%, 0%, 38.4%)
CIE-LABlab(21.87, 49.17, -67.93)
CIE-LCHlch(21.87, 83.86, 305.90°)
OKLaboklab(34.86% 0.0181 -0.1963)
OKLCHoklch(34.86% 0.197 275.3)
XYZxyz(7.2852, 3.4788, 32.1793)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29169D #8A9D16
analogous
#16479D #29169D #6C169D
triadic
#29169D #9D2916 #169D29
tetradic
#29169D #9D1647 #8A9D16 #169D6C
square
#29169D #9D1647 #8A9D16 #169D6C
split-complementary
#29169D #9D6C16 #479D16
monochromatic
#0D0732 #1B0E67 #29169D #371ED3 #5E48E5

Accessibility & contrast

On white

12.38
#29169D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#29169D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29169D
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29169D#FFFFFF#000000##FFFFFF
##29169D1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #29169d;
/* rgb */ color: rgb(41, 22, 157);
/* oklch */ color: oklch(34.9% 0.197 275.3);
Tailwind
colors: {
  custom: {
    50: '#7759bb',
    500: '#29169d',
    950: '#000000',
  },
}
SCSS
$custom: #29169d;
$custom-light: #7759bb;
$custom-dark: #000000;
JSON
{
  "hex": "#29169d",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 157
  },
  "hsl": {
    "h": 248.444,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34863,
    "c": 0.19716,
    "h": 275.3
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#29169D
secondary
#B5C748
accent
#F236D8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #29169D

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

Preview Lab → · Contrast checker → · Palette generator →

#29169D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva