#29179F#29179F

#29179F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.2% C 0.199 H 274.9°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#29179F
RGBrgb(41, 23, 159)
HSLhsl(248, 75%, 36%)
HSVhsv(248, 86%, 62%)
CMYKcmyk(74.2%, 85.5%, 0%, 37.6%)
CIE-LABlab(22.26, 49.34, -68.51)
CIE-LCHlch(22.26, 84.43, 305.76°)
OKLaboklab(35.2% 0.0172 -0.198)
OKLCHoklch(35.2% 0.199 274.9)
XYZxyz(7.4768, 3.5867, 33.0924)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29179F #8D9F17
analogous
#17499F #29179F #6D179F
triadic
#29179F #9F2917 #179F29
tetradic
#29179F #9F1749 #8D9F17 #179F6D
square
#29179F #9F1749 #8D9F17 #179F6D
split-complementary
#29179F #9F6D17 #499F17
monochromatic
#0D0834 #1B0F6A #29179F #371FD4 #604BE5

Accessibility & contrast

On white

12.23
#29179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#29179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29179F
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29179F#FFFFFF#000000##FFFFFF
##29179F1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #29179f;
/* rgb */ color: rgb(41, 23, 159);
/* oklch */ color: oklch(35.2% 0.199 274.9);
Tailwind
colors: {
  custom: {
    50: '#785abd',
    500: '#29179f',
    950: '#000000',
  },
}
SCSS
$custom: #29179f;
$custom-light: #785abd;
$custom-dark: #000000;
JSON
{
  "hex": "#29179f",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 247.941,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.352,
    "c": 0.19877,
    "h": 274.9
  },
  "luminance": 0.03587
}

Semantic roles & 50–950 ramp

primary
#29179F
secondary
#B6C74B
accent
#F136D9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #29179F

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

Preview Lab → · Contrast checker → · Palette generator →

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